Login  Register
Customized macros
Macros overridden by configurations
Search macros
View logs

pin_column

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "pin_column".
... in columns.naml
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
<macro name="pin_column">
    <n.table_column>
        <head>
            <td class="[n.column_default_border/] pin-column nowrap" style="width:24px"></td>
        </head>
        <body>
            <n.current_node.>
                <td class="[n.column_default_border/] pin-column" style="padding-left:.2em">
                    <n.if.is_app>
                        <then>
                            <n.if.is_pinned_in_loop>
                                <then><img src="/images/forum_pin.png" width="29" height="23" title="[t]Pinned sub-forum[/t]" alt="[t]Pinned sub-forum[/t]"/></then>
                                <else><img src="/images/forum.png" width="25" height="23" title="[t]Floating sub-forum[/t]" alt="[t]Floating sub-forum[/t]"/></else>
                            </n.if.is_pinned_in_loop>
                        </then>
                        <else>
                            <n.if.is_pinned_in_loop>
                                <then><img src="/images/pin.png" width="20" height="21" alt="pin"/></then>
                            </n.if.is_pinned_in_loop>
                        </else>
                    </n.if.is_app>
                </td>
            </n.current_node.>
        </body>
    </n.table_column>
</macro>