new_topic_action_link

NAML documentation   Watch a video
   Usages of this macro
... in new_topic_action_link.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<override_macro name="new_topic_action_link" parameters="text">
    <div class="[n.action_link_style
Macro
/]">
        <img src="http://da7yjqciamcnr.cloudfront.net/images/icons/plus@2x.png" class="image16" />
        <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.>
            <n.new_topic_link
Macro
Requires: node
Parameters: href, text, title, class
>
                <title>
                    <t>Post new message in <t.location.subject
Macro
Requires: node
/></t>
                </title>
                <text>
                    <n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to="[t]New Topic[/t]"><n.text/></n.default.>
                </text>
            </n.new_topic_link>
        </n.page_node.>
    </div>
</override_macro>
Overrides default macro
... in action_row.naml
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<macro name="new_topic_action_link" parameters="text">
    <div class="[n.action_link_style/]">
        <img src="/images/icon_post_message.png" class="image16" />
        <n.page_node.>
            <n.new_topic_link>
                <title>
                    <t>Post new message in <t.location.subject/></t>
                </title>
                <text>
                    <n.default. to="[t]New Topic[/t]"><n.text/></n.default.>
                </text>
            </n.new_topic_link>
        </n.page_node.>
    </div>
</macro>