menu_post_by_email

NAML documentation   Watch a video
   Usages of this 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
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_associated_with_mailing_list_archive
Binary
Namespace: NodeNamespace
>
        <then>
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_in_command
Binary
Namespace: BasicNamespace
Parameters: name
 name="dropdown">
                <then>
                    dropdown.add('postByEmail', '<n.javascript_string_encode
Binary
Namespace: NabbleNamespace
Parameters: text
.post_by_email_link
Macro
Requires: node
Parameters: text, title, class
/>', 'display:none');
                </then>
                <else>
                    <n.set_local_node
Macro
Parameters: node
.this_node
Binary
Namespace: NodeNamespace
Parameters: do
/>
                    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.visitor
Binary
Namespace: ServletNamespace
Parameters: do
.can_create_topic_in
Macro
Requires: user
Parameters: node_attr
.local_node
Macro
Parameters: do
>
                        <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>