mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-14 11:33:51 +01:00
41 lines
1.1 KiB
HTML
41 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ modname.name }} - {{ _("Mod Names") }}
|
|
{% endblock %}
|
|
|
|
{% from "macros/packagegridtile.html" import render_pkggrid %}
|
|
|
|
{% block content %}
|
|
<h1>{{ _("Mod Name \"%(name)s\"", name=modname.name) }}</h1>
|
|
|
|
<h2>{{ _("Provided By") }}</h2>
|
|
|
|
<h3>{{ _("Mods") }}</h3>
|
|
{{ render_pkggrid(modname.packages.filter_by(type="MOD", state="APPROVED").all()) }}
|
|
|
|
<h3>{{ _("Games") }}</h3>
|
|
{{ render_pkggrid(modname.packages.filter_by(type="GAME", state="APPROVED").all()) }}
|
|
|
|
{% if similar_topics %}
|
|
<h3>{{ _("Forum Topics") }}</h3>
|
|
<ul>
|
|
{% for t in similar_topics %}
|
|
<li>
|
|
[{{ t.type.text }}]
|
|
<a href="https://forum.minetest.net/viewtopic.php?t={{ t.topic_id }}">
|
|
{{ _("%(title)s by %(display_name)s", title=t.title, display_name=t.author.display_name) }}
|
|
</a>
|
|
{% if t.wip %}[{{ _("WIP") }}]{% endif %}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
|
|
<h2>{{ _("Required By") }}</h2>
|
|
{{ render_pkggrid(dependers) }}
|
|
|
|
<h2>{{ _("Optionally Used By") }}</h2>
|
|
{{ render_pkggrid(optional_dependers) }}
|
|
{% endblock %}
|