2018-05-27 17:51:46 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2020-08-18 17:29:51 +02:00
|
|
|
{{ mpackage.name }} - Meta Packages
|
2018-05-27 17:51:46 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2020-08-18 17:29:51 +02:00
|
|
|
<h1>Meta Package "{{ mpackage.name }}"</h1>
|
|
|
|
|
2020-08-18 18:13:37 +02:00
|
|
|
<h2>Provided By</h2>
|
2018-05-27 17:51:46 +02:00
|
|
|
|
|
|
|
{% from "macros/packagegridtile.html" import render_pkggrid %}
|
2018-05-29 18:15:53 +02:00
|
|
|
{{ render_pkggrid(mpackage.packages.filter_by(approved=True, soft_deleted=False).all()) }}
|
2020-08-18 17:29:51 +02:00
|
|
|
|
2020-08-18 17:42:33 +02:00
|
|
|
{% if similar_topics %}
|
|
|
|
<p>Unforuntately, this isn't on ContentDB yet! Here's some forum topics:</p>
|
|
|
|
<ul>
|
|
|
|
{% for t in similar_topics %}
|
|
|
|
<li>
|
|
|
|
[{{ t.type.value }}]
|
|
|
|
<a href="https://forum.minetest.net/viewtopic.php?t={{ t.topic_id }}">
|
|
|
|
{{ t.title }} by {{ t.author.display_name }}
|
|
|
|
</a>
|
|
|
|
{% if t.wip %}[WIP]{% endif %}
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
|
2020-08-18 18:13:37 +02:00
|
|
|
<h2>Required By</h2>
|
2020-08-18 17:29:51 +02:00
|
|
|
{{ render_pkggrid(dependers) }}
|
2020-08-18 18:13:37 +02:00
|
|
|
|
|
|
|
<h2>Optionally Used By</h2>
|
|
|
|
{{ render_pkggrid(optional_dependers) }}
|
2018-05-27 17:51:46 +02:00
|
|
|
{% endblock %}
|