post_dropdown

NAML documentation   Watch a video
   Usages of this macro
... in social_dropdown_links.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<override_macro name="post_dropdown" requires="node">
    <n.dropdown
Macro
Parameters: loadOnClick, options, id, text, title, element
.
        id="postdropdown[n.id
Binary
Namespace: NodeNamespace
/]"
        text="[t]More[/t]"
        title="[t]Click for more options[/t]"
        loadOnClick="/template/NamlServlet.jtp?macro=post_dropdown_later&node=[n.id
Binary
Namespace: NodeNamespace
/]"
    >
        <n.menu_reply_to_author
Macro
Requires: node
/>
        <n.menu_edit_post
Macro
Requires: node
/>
        <n.menu_move_post
Macro
Requires: node
/>
        <n.menu_delete_post
Macro
Requires: node
/>
        <n.menu_change_post_date
Macro
Requires: node
/>
        <n.menu_print_post
Macro
Requires: node
/>
        <n.menu_permalink
Macro
Requires: node
/>
        <n.menu_raw_mail
Macro
Requires: node
/>
        <n.menu_social
Macro
Requires: node
/>
    </n.dropdown.>
</override_macro>
Overrides default macro
... in dropdown.naml
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<macro name="post_dropdown" requires="node">
    <n.dropdown.
        id="postdropdown[n.id/]"
        text="[t]More[/t]"
        title="[t]Click for more options[/t]"
        loadOnClick="/template/NamlServlet.jtp?macro=post_dropdown_later&node=[n.id/]"
    >
        <n.menu_reply_to_author/>
        <n.menu_edit_post/>
        <n.menu_move_post/>
        <n.menu_delete_post/>
        <n.menu_change_post_date/>
        <n.menu_print_post/>
        <n.menu_permalink/>
        <n.menu_raw_mail/>
    </n.dropdown.>
</macro>