Mercurial > libervia-templates
view default/input/navigation.html @ 132:c70f405f9b86
blog (articles): show a message when no article is found
author | Goffi <goffi@goffi.org> |
---|---|
date | Mon, 26 Mar 2018 08:13:53 +0200 |
parents | 5d9e2270ceb4 |
children |
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 %}