contentdb/app/templates/packages/list.html

25 lines
634 B
HTML
Raw Normal View History

2018-03-19 19:08:41 +01:00
{% extends "base.html" %}
{% block title %}
{{ title }}
{% endblock %}
{% block content %}
2018-05-18 03:31:38 +02:00
{% from "macros/packagegridtile.html" import render_pkggrid %}
{{ render_pkggrid(packages) }}
2018-05-29 17:52:53 +02:00
2018-12-21 15:45:54 +01:00
<ul class="btnset linedbuttonset">
2018-05-29 17:52:53 +02:00
{% if prev_url %}<li><a href="{{ prev_url }}">Previous</a></li>{% endif %}
<li>{{ page }} / {{ page_max }}</li>
{% if next_url %}<li><a href="{{ next_url }}">Next</a></li> {% endif %}
</ul>
{% if topics %}
<h2 style="margin-top:2em;">More content from the forums</h2>
{% from "macros/topics.html" import render_topics %}
{{ render_topics(topics, current_user) }}
{% endif %}
2018-03-19 19:08:41 +01:00
{% endblock %}