... | in user_profile.naml |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
<override_macro name="message_with_signature" requires="node">
<n.node_message_as_html />
<n.if>
<condition>
<n.either>
<condition1.owner.is_in_group group="Members" />
<condition2.owner.is_site_admin/>
</n.either>
</condition>
<then>
<n.if.both condition1="[n.owner.has_signature/]" condition2="[n.owner.is_active/]">
<then>
<div class="signature weak-color">
<n.owner.signature_as_html/>
</div>
</then>
</n.if.both>
</then>
</n.if>
</override_macro>
|
... | in message.naml |
1 2 3 4 5 6 7 8 9 10
|
<macro name="message_with_signature" requires="node">
<n.node_message_as_html />
<n.if.both condition1="[n.owner.has_signature/]" condition2="[n.owner.is_active/]">
<then>
<div class="signature weak-color">
<n.owner.signature_as_html/>
</div>
</then>
</n.if.both>
</macro>
|
Free forum by Nabble | Edit this page |