mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-14 11:33:51 +01:00
46 lines
1.2 KiB
HTML
46 lines
1.2 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ _("Modname Uniqueness") }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1><a href="{{ package.get_url('packages.view') }}">{{ package.title }}</a></h1>
|
|
<h2>{{ self.title() }}</h2>
|
|
|
|
{% if packages_modnames %}
|
|
<h3>{{ _("Packages sharing provided mods") }}</h3>
|
|
<p class="text-muted">
|
|
{{ _("This package contains modnames that are present in the following packages:") }}
|
|
</p>
|
|
{% for modname, packages in packages_modnames.items() %}
|
|
<h4>{{ modname.name }}</h4>
|
|
<ul>
|
|
{% for pkg in packages %}
|
|
<li>
|
|
<a href="{{ pkg.get_url('packages.view') }}">
|
|
{{ _("%(title)s by %(author)s", title=pkg.title, author=pkg.author.display_name) }}
|
|
</a>
|
|
[{{ pkg.type.text }}]
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if similar_topics %}
|
|
<h3>{{ _("Similar Forum Topics") }}</h3>
|
|
<ul>
|
|
{% for t in similar_topics %}
|
|
<li>
|
|
[{{ t.type.value }}]
|
|
<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 %}
|
|
{% endblock %}
|