sort_controls

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 "sort_controls".
... in search.naml
167
168
169
170
171
172
173
174
175
176
177
178
<macro name="sort_controls" requires="search">
    <div style="float:right;margin:0 1em">
        <n.if.sorted_by_date>
            <then>
                <a href="[n.sort_by_relevance_path/]"><t>Sort by relevance</t></a> | <t>Sorted by date</t>
            </then>
            <else>
                <t>Sorted by relevance</t> | <a href="[n.sort_by_date_path/]"><t>Sort by date</t></a>
            </else>
        </n.if.sorted_by_date>
    </div>
</macro>