people_action_link

NAML documentation   Watch a video
   Usages of this macro
... in people_action_link.naml
1
2
3
4
5
6
7
8
9
10
<override_macro name="people_action_link" requires="node_page">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.has_people_page
Macro
Requires: node
>
        <then>
            <div class="[n.action_link_style
Macro
/]" style="margin-left:.6em">
                <img src="http://da7yjqciamcnr.cloudfront.net/images/icons/followers.png" class="image16"/>
                <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.people_link
Macro
Requires: node
Parameters: text, title, class
/>
            </div>
        </then>
    </n.if.page_node.has_people_page>
</override_macro>
Overrides default macro
... in action_row.naml
77
78
79
80
81
82
83
84
85
86
<macro name="people_action_link" requires="node_page">
    <n.if.page_node.has_people_page>
        <then>
            <div class="[n.action_link_style/]" style="margin-left:.6em">
                <img src="/images/people_sm.png" class="image16"/>
                <n.page_node.people_link/>
            </div>
        </then>
    </n.if.page_node.has_people_page>
</macro>