mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 09:33:44 +01:00
660b813ff7
Fixes #205
39 lines
848 B
HTML
39 lines
848 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ title }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if authors %}
|
|
<p class="alert alert-primary">
|
|
Did you mean to search for packages by
|
|
|
|
{% for author in authors %}
|
|
<a href="{{ url_for('packages.list_all', type=type, author=author[0], q=author[1]) }}">{{ author[0] }}</a>
|
|
{% if not loop.last %}
|
|
,
|
|
{% endif %}
|
|
{% endfor %}
|
|
?
|
|
</p>
|
|
{% endif %}
|
|
|
|
|
|
{% from "macros/packagegridtile.html" import render_pkggrid %}
|
|
{{ render_pkggrid(packages) }}
|
|
|
|
|
|
{% from "macros/pagination.html" import render_pagination %}
|
|
{{ render_pagination(pagination, url_builder) }}
|
|
|
|
|
|
{% 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 %}
|
|
|
|
{% endblock %}
|