2016-11-09 19:24:33 +01:00
|
|
|
{% extends "layout.html" %}
|
|
|
|
{% block body %}
|
|
|
|
<h1>{{title}}</h1>
|
|
|
|
<div class="container">
|
2018-08-31 10:47:58 +02:00
|
|
|
<div class="col-xs-12 col-sm-6">
|
2016-11-09 19:24:33 +01:00
|
|
|
{% for lang in languages %}
|
2017-02-25 13:28:57 +01:00
|
|
|
{% if loop.index0 == (loop.length/2)|int and loop.length > 20 %}
|
|
|
|
</div>
|
2018-08-31 10:47:58 +02:00
|
|
|
<div class="col-xs-12 col-sm-6">
|
2017-02-25 13:28:57 +01:00
|
|
|
{% endif %}
|
2016-11-09 19:24:33 +01:00
|
|
|
<div class="row">
|
2018-08-31 10:47:58 +02:00
|
|
|
<div class="col-xs-2 col-sm-2 col-md-1" align="left"><span class="badge">{{lang_counter[loop.index0].bookcount}}</span></div>
|
2019-02-09 18:46:36 +01:00
|
|
|
<div class="col-xs-10 col-sm-10 col-md-11"><a id="list_{{loop.index0}}" href="{{url_for('web.language', name=lang.lang_code)}}">{{lang.name}}</a></div>
|
2016-11-09 19:24:33 +01:00
|
|
|
</div>
|
|
|
|
{% endfor %}
|
2017-02-25 13:28:57 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-09 19:24:33 +01:00
|
|
|
{% endblock %}
|