updated_notice

NAML documentation   Watch a video
   Usages of this macro
... in updated_notice.naml
1
2
3
4
5
6
7
<override_macro name="updated_notice" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.was_updated
Binary
Namespace: NodeNamespace
>
        <then>
            <n.comment
Macro
Parameters: text
.>Removed text that the post was edited</n.comment.> 
        </then>
    </n.if.was_updated>
</override_macro>
Overrides default macro
... in topic.naml
613
614
615
616
617
618
619
620
621
<macro name="updated_notice" requires="node">
    <n.if.was_updated>
        <then>
            <div class="weak-color" style="font-size:80%;padding-bottom:1em">
                <t>This post was updated on <t.date.when_updated.long_format/>.</t>
            </div>
        </then>
    </n.if.was_updated>
</macro>