Mercurial > libervia-templates
view sat_templates/templates/default/input/navigation.html @ 164:e9f0a4215e46
multi-sites handling (moved templates to "templates" sub-directory) + noscript styles handling.
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 10 Sep 2018 08:53:33 +0200 |
parents | sat_templates/default/input/navigation.html@33c7ce833d3f |
children | 178f55b825b7 |
line wrap: on
line source
{% macro prev_next(prev_label=_("newer"), next_label=_("older")) %} <nav class="prev_next_links"> <ul> {% if newer_url is defined %} <li class="newer_items"> <a href="{{newer_url}}"> <img src="{{media_path}}icons/tango/actions/32/go-previous.png"> {{prev_label}} </a> </li> {% endif %} {% if older_url is defined %} <li class="older_items"> <a href="{{older_url}}"> <img src="{{media_path}}icons/tango/actions/32/go-next.png"> {{next_label}} </a> </li> {% endif %} </ul> </nav> {% endmacro %}