Mercurial > libervia-templates
annotate sat_templates/default/input/navigation.html @ 154:80cf52fbcc40
events: added admin, create and overview templates
author | Goffi <goffi@goffi.org> |
---|---|
date | Thu, 21 Jun 2018 01:11:07 +0200 |
parents | 33c7ce833d3f |
children |
rev | line source |
---|---|
115
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
1 {% macro prev_next(prev_label=_("newer"), next_label=_("older")) %} |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
2 <nav class="prev_next_links"> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
3 <ul> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
4 {% if newer_url is defined %} |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
5 <li class="newer_items"> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
6 <a href="{{newer_url}}"> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
7 <img src="{{media_path}}icons/tango/actions/32/go-previous.png"> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
8 {{prev_label}} |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
9 </a> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
10 </li> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
11 {% endif %} |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
12 {% if older_url is defined %} |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
13 <li class="older_items"> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
14 <a href="{{older_url}}"> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
15 <img src="{{media_path}}icons/tango/actions/32/go-next.png"> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
16 {{next_label}} |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
17 </a> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
18 </li> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
19 {% endif %} |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
20 </ul> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
21 </nav> |
5d9e2270ceb4
blog/articles, input/navigation: moved navigation template in a dedicated macro
Goffi <goffi@goffi.org>
parents:
diff
changeset
|
22 {% endmacro %} |