app_title_ending

NAML documentation   Watch a video
   Usages of this macro
... in app.naml
220
221
222
223
224
225
226
227
<macro name="app_title_ending" requires="node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.equal
Binary
Namespace: BasicNamespace
Parameters: value2, value1
 value1="[n.app_template
Macro
Requires: servlet
/]" value2="[n.app_default_template
Macro
/]">
        <then>| <n.capitalize
Binary
Namespace: BasicNamespace
Parameters: text
.substring
Binary
Namespace: BasicNamespace
Parameters: end, text, begin
 text="[n.app_template
Macro
Requires: servlet
/]" begin="5" /></then>
    </n.if.not.equal>
    <n.hide_if_equals
Macro
Parameters: value2, value1, text
. value1="[n.app_page_number
Macro
Requires: node_page, servlet
/]" value2="1">
        | <t>Page <t.number.app_page_number
Macro
Requires: node_page, servlet
/></t>
    </n.hide_if_equals.>
</macro>