... | in menu_post_by_email.naml |
1 2
|
<override_macro name="menu_post_by_email" requires="node">
</override_macro>
|
... | in dropdown.naml |
231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249
|
<macro name="menu_post_by_email" requires="node">
<n.if.not.is_associated_with_mailing_list_archive>
<then>
<n.if.is_in_command name="dropdown">
<then>
dropdown.add('postByEmail', '<n.javascript_string_encode.post_by_email_link/>', 'display:none');
</then>
<else>
<n.set_local_node.this_node/>
<n.if.visitor.can_create_topic_in.local_node>
<then>
NabbleDropdown.show('postByEmail');
</then>
</n.if.visitor.can_create_topic_in.local_node>
</else>
</n.if.is_in_command>
</then>
</n.if.not.is_associated_with_mailing_list_archive>
</macro>
|
Powered by Nabble | NAML |