comparison doc/help/theme/better/relbar.html @ 1184:cf1fdb254c41

Moved help pages from 'manuals' to 'doc/help'. Updated .hgignore.
author Emanuel Schuetze <emanuel@intevation.de>
date Mon, 22 Sep 2014 13:02:11 +0200
parents manuals/theme/better/relbar.html@519b14c5260d
children
comparison
equal deleted inserted replaced
1183:3e4ac23938e1 1184:cf1fdb254c41
1 {%- macro rellink_markup() %}
2 <nav id="rellinks">
3 <ul>
4 {%- if prev %}
5 <li>
6 &larr;
7 <a href="{{ prev.link|e }}" title="Previous document">{{ prev.title }}</a>
8 </li>
9 {%- endif %}
10 {%- if next %}
11 <li>
12 <a href="{{ next.link|e }}" title="Next document">{{ next.title }}</a>
13 &rarr;
14 </li>
15 {%- endif %}
16 </ul>
17 </nav>
18 {%- endmacro %}
19
20 {%- macro breadcrumbs_markup() %}
21 <nav id="breadcrumbs">
22 <ul>
23 {%- block rootrellink %}
24 <li><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a></li>
25 {%- endblock %}
26 {%- for parent in parents %}
27 <li>
28 <a href="{{ parent.link|e }}">{{ parent.title }}</a>
29 </li>
30 {%- endfor %}
31 {%- block relbaritems %} {% endblock %}
32 </ul>
33 </nav>
34 {%- endmacro %}
35
36 {%- macro relbar_top() %}
37 {%- if theme_showrelbartop|tobool %}
38 <div class="related top">
39 {{- rellink_markup () }}
40 {{- breadcrumbs_markup() }}
41 </div>
42 {%- endif %}
43 {%- endmacro %}
44
45 {%- macro relbar_bottom() %}
46 {%- if theme_showrelbarbottom|tobool %}
47 <div class="related bottom">
48 {{- rellink_markup () }}
49 {{- breadcrumbs_markup() }}
50 </div>
51 {%- endif %}
52 {%- endmacro %}

http://wald.intevation.org/projects/trustbridge/