]> git.gir.st - subscriptionfeed.git/blob - app/browse/templates/playlist.html.j2
rename 'dangerous' blueprint, as its safe
[subscriptionfeed.git] / app / browse / templates / playlist.html.j2
1 {% extends "base.html.j2" %}
2 {% import 'macros.imp.j2' as macros %}
3 {% block title %}{{ title | e }} — {{ author | e }}{% endblock %}
4
5 {% block content %}
6 <h1>{{ title | e }}<br>
7 <small><a href="/channel/{{ channel_id }}/">{{ author | e }}</a></small></h1>
8 <div class="cards">
9 {% for card in rows %}
10 {{ macros.typed_card(card) }}
11 {% endfor %}
12 {{ macros.dummycard() }}
13 </div>
14 </article>
15
16 {% if not rows|length %}no more results{% endif %}
17
18 <div class="pagination-container">
19 {% if page is not none %}
20 {{ macros.pagination("previous", {'page':(-1,1)}, -1) if page > 1 }}
21 {{ macros.pagination("next", {'page':(+1,1)}, +1) if has_more }}
22 {% endif %}
23 </div>
24 {% endblock %}
Imprint / Impressum