assignee_column

NAML documentation   Watch a video
   Usages of this macro
... in assignee_column.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<override_macro name="assignee_column" parameters="width,title,clickable">
    <n.table_column
Macro
Parameters: head, body
>
        <head>
            <td class="main-border-color assignee-column nowrap" style="border-top-right-radius: 1em;border-bottom-right-radius: 1em">
                <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.assignee_dropdown
Macro
/></then>
                    <else><t>Assignee</t></else>
                </n.if.equal>
            </td>
        </head>
        <body>
            <td class="main-border-color nowrap"><n.current_node
Binary
Namespace: NodeList
Parameters: do
.show_assignee
Macro
Requires: node
/></td>
        </body>
    </n.table_column>
</override_macro>
Overrides default macro
... in workgroup.naml
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
<macro name="assignee_column" parameters="width,title,clickable">
    <n.table_column>
        <head>
            <td class="medium-border-color assignee-column nowrap" style="[n.width_style.width/]">
                <n.if.equal value1="[n.default. to='true'][n.clickable/][/n.default.]" value2="true">
                    <then><n.assignee_dropdown/></then>
                    <else><t>Assignee</t></else>
                </n.if.equal>
            </td>
        </head>
        <body>
            <td class="medium-border-color nowrap"><n.current_node.show_assignee/></td>
        </body>
    </n.table_column>
</macro>