blob: f7cbd2af9f4042174582aa3fbc52714ad422f024 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
{# Switch to icon instead of text in `sm` view size for BS3 only. #}
{%- if prev or next %}
<ul class="prevnext-title list-unstyled list-inline">
{%- endif %}
{%- if prev %}
<li class="prev">
<a href="{{ prev.link|e }}" title="{{ _('Previous Chapter: ') + prev.title|striptags }}">
{%- if theme_bootstrap_version == "3" -%}<span class="glyphicon glyphicon-chevron-left visible-sm"></span>{%- endif -%}
<span class="hidden-sm">{{ "«"|safe }} {{ prev.title|striptags|truncate(length=16, killwords=True) }}</span>
</a>
</li>
{%- endif %}
{%- if next %}
<li class="next">
<a href="{{ next.link|e }}" title="{{ _('Next Chapter: ') + next.title|striptags }}">
{%- if theme_bootstrap_version == "3" -%}<span class="glyphicon glyphicon-chevron-right visible-sm"></span>{%- endif -%}
<span class="hidden-sm">{{ next.title|striptags|truncate(length=16, killwords=True) }} {{ "»"|safe }}</span>
</a>
</li>
{%- endif %}
{%- if prev or next %}
</ul>
{%- endif %}
|