contentdb/app/templates/packages/similar.html

32 lines
833 B
HTML
Raw Normal View History

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 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>
{% 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>
2022-01-14 19:25:28 +01:00
[{{ pkg.type.text }}]
2021-07-29 20:34:47 +02:00
</li>
{% endfor %}
</ul>
{% endfor %}
{% endif %}
{% endblock %}