2018-05-27 17:51:46 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2022-01-08 00:27:00 +01:00
|
|
|
{{ mpackage.name }} - {{ _("Meta Packages") }}
|
2018-05-27 17:51:46 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
2022-02-02 01:56:56 +01:00
|
|
|
{% from "macros/packagegridtile.html" import render_pkggrid %}
|
|
|
|
|
2018-05-27 17:51:46 +02:00
|
|
|
{% block content %}
|
2022-01-08 00:27:00 +01:00
|
|
|
<h1>{{ _("Meta Package \"%(name)s\"", name=mpackage.name) }}</h1>
|
2020-08-18 17:29:51 +02:00
|
|
|
|
2022-01-08 00:27:00 +01:00
|
|
|
<h2>{{ _("Provided By") }}</h2>
|
2018-05-27 17:51:46 +02:00
|
|
|
|
2022-02-02 01:56:56 +01:00
|
|
|
<h3>{{ _("Mods") }}</h3>
|
|
|
|
{{ render_pkggrid(mpackage.packages.filter_by(type="MOD", state="APPROVED").all()) }}
|
2020-08-18 17:29:51 +02:00
|
|
|
|
2022-09-01 23:30:35 +02:00
|
|
|
<h3>{{ _("Games") }}</h3>
|
|
|
|
{{ render_pkggrid(mpackage.packages.filter_by(type="GAME", state="APPROVED").all()) }}
|
|
|
|
|
2020-08-18 17:42:33 +02:00
|
|
|
{% if similar_topics %}
|
2022-02-02 01:56:56 +01:00
|
|
|
<h3>{{ _("Forum Topics") }}</h3>
|
2020-08-18 17:42:33 +02:00
|
|
|
<ul>
|
|
|
|
{% for t in similar_topics %}
|
|
|
|
<li>
|
2022-01-14 19:25:28 +01:00
|
|
|
[{{ t.type.text }}]
|
2020-08-18 17:42:33 +02:00
|
|
|
<a href="https://forum.minetest.net/viewtopic.php?t={{ t.topic_id }}">
|
2022-01-08 00:27:00 +01:00
|
|
|
{{ _("%(title)s by %(display_name)s", title=t.title, display_name=t.author.display_name) }}
|
2020-08-18 17:42:33 +02:00
|
|
|
</a>
|
2022-01-08 00:27:00 +01:00
|
|
|
{% if t.wip %}[{{ _("WIP") }}]{% endif %}
|
2020-08-18 17:42:33 +02:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
2022-01-08 00:27:00 +01:00
|
|
|
<h2>{{ _("Required By") }}</h2>
|
2020-08-18 17:29:51 +02:00
|
|
|
{{ render_pkggrid(dependers) }}
|
2020-08-18 18:13:37 +02:00
|
|
|
|
2022-01-08 00:27:00 +01:00
|
|
|
<h2>{{ _("Optionally Used By") }}</h2>
|
2020-08-18 18:13:37 +02:00
|
|
|
{{ render_pkggrid(optional_dependers) }}
|
2018-05-27 17:51:46 +02:00
|
|
|
{% endblock %}
|