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 %}
|
2023-06-18 23:00:24 +02:00
|
|
|
<h1><a href="{{ package.get_url('packages.view') }}">{{ package.title }}</a></h1>
|
2021-07-29 20:34:47 +02:00
|
|
|
<h2>{{ self.title() }}</h2>
|
|
|
|
|
|
|
|
{% if packages_modnames %}
|
2024-02-22 13:43:46 +01:00
|
|
|
<h3 id="packages-sharing-provided-mods">{{ _("Packages sharing provided mods") }}</h3>
|
2021-07-29 20:34:47 +02:00
|
|
|
<p class="text-muted">
|
2022-01-08 02:49:13 +01:00
|
|
|
{{ _("This package contains modnames that are present in the following packages:") }}
|
2021-07-29 20:34:47 +02:00
|
|
|
</p>
|
2022-09-01 23:45:53 +02:00
|
|
|
{% for modname, packages in packages_modnames.items() %}
|
2024-02-22 13:43:46 +01:00
|
|
|
<h4 id="{{ modname.name }}">{{ modname.name }}</h4>
|
2021-07-29 20:34:47 +02:00
|
|
|
<ul>
|
|
|
|
{% for pkg in packages %}
|
|
|
|
<li>
|
2023-06-18 22:56:19 +02:00
|
|
|
<a href="{{ pkg.get_url('packages.view') }}">
|
2021-07-29 20:34:47 +02:00
|
|
|
{{ _("%(title)s by %(author)s", title=pkg.title, author=pkg.author.display_name) }}
|
|
|
|
</a>
|
2022-01-14 19:25:28 +01:00
|
|
|
[{{ pkg.type.text }}]
|
2021-07-29 20:34:47 +02:00
|
|
|
</li>
|
|
|
|
{% endfor %}
|
|
|
|
</ul>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if similar_topics %}
|
2024-02-22 13:43:46 +01:00
|
|
|
<h3 id="similar-forum-topics">{{ _("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 %}
|