Series Link in series view no longer clickable
This commit is contained in:
parent
0d49b56883
commit
a6a8f7eb43
1 changed files with 4 additions and 0 deletions
|
@ -125,9 +125,13 @@
|
||||||
</p>
|
</p>
|
||||||
{% if entry.series.__len__() > 0 %}
|
{% if entry.series.__len__() > 0 %}
|
||||||
<p class="series">
|
<p class="series">
|
||||||
|
{% if page != "series" %}
|
||||||
<a href="{{url_for('web.books_list', data='series', sort_param='stored', book_id=entry.series[0].id )}}">
|
<a href="{{url_for('web.books_list', data='series', sort_param='stored', book_id=entry.series[0].id )}}">
|
||||||
{{entry.series[0].name}}
|
{{entry.series[0].name}}
|
||||||
</a>
|
</a>
|
||||||
|
{% else %}
|
||||||
|
<span>{{entry.series[0].name}}</span>
|
||||||
|
{% endif %}
|
||||||
({{entry.series_index|formatseriesindex}})
|
({{entry.series_index|formatseriesindex}})
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue