priority_column

NAML documentation   Watch a video
   Usages of this macro
... in priority_column.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<override_macro name="priority_column" parameters="clickable">
    <n.table_column
Macro
Parameters: head, body
>
        <head>
            <td class="main-border-color priority-column nowrap">
                <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.equal
Binary
Namespace: BasicNamespace
Parameters: value2, value1
 value1="[n.default
Binary
Namespace: BasicNamespace
Parameters: to, text
. to='true'][n.clickable/][/n.default.]" value2="true">
                    <then><n.priority_dropdown
Macro
/></then>
                    <else><t>Priority</t></else>
                </n.if.equal>
            </td>
        </head>
        <body>
            <td class="main-border-color" align="center"><n.current_node
Binary
Namespace: NodeList
Parameters: do
.show_priority
Macro
Requires: node
/></td>
        </body>
    </n.table_column>
</override_macro>
Overrides default macro
... in workgroup.naml
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
<macro name="priority_column" parameters="clickable">
    <n.table_column>
        <head>
            <td class="medium-border-color priority-column nowrap">
                <n.if.equal value1="[n.default. to='true'][n.clickable/][/n.default.]" value2="true">
                    <then><n.priority_dropdown/></then>
                    <else><t>Priority</t></else>
                </n.if.equal>
            </td>
        </head>
        <body>
            <td class="medium-border-color" align="center"><n.current_node.show_priority/></td>
        </body>
    </n.table_column>
</macro>