assignee_option

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 "assignee_option".
... in workgroup.naml
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
<macro name="assignee_option" parameters="assignee,label">
    <n.set_var. name="a-url"><n.app_url_by_assignee assignee="[n.assignee/]"/></n.set_var.>
    <n.set_var. name="style">
        <n.compress.>
            padding-left:14px;
            padding-right:11px;
            <n.if.equal value1="[n.assignee/]" value2="[n.app_assignee/]">
                <then>
                    background-image:url(/images/check.png);
                    background-repeat:no-repeat;
                    background-position:left center;
                </then>
                <else>font-weight:normal</else>
            </n.if.equal>
        </n.compress.>
    </n.set_var.>
    var text = '<a href="[n.var name='a-url'/]" style="[n.hide_null.var name='style'/]"><n.javascript_string_encode.label/></a>';
    dropdown.add('assignee-<n.assignee/>', text);
</macro>