2021-07-29 20:34:47 +02:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2022-01-08 00:27:00 +01:00
|
|
|
{{ _("Modname Uniqueness") }}
|
2021-07-29 20:34:47 +02:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<h1><a href="{{ package.getURL("packages.view") }}">{{ package.title }}</a></h1>
|
|
|
|
<h2>{{ self.title() }}</h2>
|
|
|
|
|
|
|
|
{% if packages_modnames %}
|
2022-01-08 00:27:00 +01:00
|
|
|
<h3>{{ _("Packages sharing provided mods") }}</h3>
|
2021-07-29 20:34:47 +02:00
|
|
|
<p class="text-muted">
|
2022-01-08 00:27:00 +01:00
|
|
|
{{ _("This package contains modnames that are present in the following packages:")
|
2021-07-29 20:34:47 +02:00
|
|
|
</p>
|
|
|
|
{% for metapackage, packages in packages_modnames.items() %}
|
|
|
|
<h4>{{ metapackage.name }}</h4>
|
|
|
|
<ul>
|
|
|
|
{% for pkg in packages %}
|
|
|
|
<li>
|
|
|
|
<a href="{{ pkg.getURL('packages.view') }}">
|
|
|
|
{{ _("%(title)s by %(author)s", title=pkg.title, author=pkg.author.display_name) }}
|
|
|
|
</a>
|
|
|
|
[{{ pkg.type.value }}]
|
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if similar_topics %}
|
2022-01-08 00:27:00 +01:00
|
|
|
<h3>{{ _("Similar Forum Topics") }}</h3>
|
2021-07-29 20:34:47 +02:00
|
|
|
<ul>
|
|
|
|
{% for t in similar_topics %}
|
|
|
|
<li>
|
|
|
|
[{{ t.type.value }}]
|
|
|
|
<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) }}
|
2021-07-29 20:34:47 +02:00
|
|
|
</a>
|
2022-01-08 00:27:00 +01:00
|
|
|
{% if t.wip %}[{{ _("WIP") }}]{% endif %}
|
2021-07-29 20:34:47 +02:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|