mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 17:40:31 +00:00
97a0dccdec
Fix for display of language (sorting not working yet)
20 lines
707 B
HTML
20 lines
707 B
HTML
{% extends "layout.html" %}
|
|
{% block body %}
|
|
<h1>{{title}}</h1>
|
|
<div class="container">
|
|
<div class="col-xs-12 col-sm-6">
|
|
{% for lang in languages %}
|
|
{% if loop.index0 == (loop.length/2)|int and loop.length > 20 %}
|
|
</div>
|
|
<div class="col-xs-12 col-sm-6">
|
|
{% endif %}
|
|
<div class="row">
|
|
<div class="col-xs-2 col-sm-2 col-md-1" align="left"><span class="badge">{{lang_counter[loop.index0].bookcount}}</span></div>
|
|
<div class="col-xs-10 col-sm-10 col-md-11"><a id="list_{{loop.index0}}" href="{{url_for('web.books_list', book_id=lang.lang_code, data=data, sort='new')}}">{{lang.name}}</a></div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|