search_pagination

NAML documentation   Watch a video
   Usages of this macro
... in search.naml
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
<macro name="search_pagination" requires="search">
    <n.search_paging
Macro
Parameters: do
.>
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_paging
Binary
Namespace: PagingNamespace
>
            <then>
                <div style="font-size:90%;text-align:right;margin-bottom:1em">
                    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_previous_page
Binary
Namespace: PagingNamespace
>
                        <then>
                            <a href="[n.previous_page_path
Macro
Requires: paging, search
/]">&laquo; Prev <n.rows_per_page
Binary
Namespace: PagingNamespace
/></a>
                            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_next_page
Binary
Namespace: PagingNamespace
>
                                <then> - </then>
                            </n.if.has_next_page>
                        </then>
                    </n.if.has_previous_page>
                    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_next_page
Binary
Namespace: PagingNamespace
>
                        <then>
                            <a href="[n.next_page_path
Macro
Requires: paging, search
/]">Next <n.rows_per_page
Binary
Namespace: PagingNamespace
/> &raquo;</a>
                        </then>
                    </n.if.has_next_page>
                </div>
            </then>
        </n.if.has_paging>
    </n.search_paging.>
</macro>