calc_app_topic_filter

NAML documentation   Watch a video
   Usages of this macro
... in workgroup.naml
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<override_macro name="calc_app_topic_filter" requires="node_page,servlet">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.app_is_by_priority
Macro
Requires: node_page, servlet
>
        <then>
            <n.compress
Macro
Parameters: text
.>
                <n.separate
Binary
Namespace: BasicNamespace
Parameters: text1, text2, separator
>
                    <text1>
                        <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.assignment_filter
Binary
Namespace: NodeNamespaceExt
Parameters: assignee, priority
 assignee="[n.app_assignee
Macro
Requires: servlet
/]" priority="[n.app_priority
Macro
Requires: servlet
/]" />
                    </text1>
                    <separator>
                        and
                    </separator>
                    <text2>
                        <n.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.overridden />
                    </text2>
                </n.separate>
            </n.compress.>
        </then>
        <else.overridden />
    </n.if.app_is_by_priority>
</override_macro>
Overrides default macro
... in app.naml
302
303
304
305
306
307
<macro name="calc_app_topic_filter" requires="node_page,servlet">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.is_null
Binary
Namespace: BasicNamespace
Parameters: value
.app_date
Macro
Requires: servlet
>
        <then.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.date_filter
Binary
Namespace: NodeNamespace
Parameters: date
 date="[n.app_date
Macro
Requires: servlet
/]" />
        <else.null
Binary
Namespace: BasicNamespace
 />
    </n.if.not.is_null.app_date>
</macro>