contentdb/app/templates/packages/similar.html

32 lines
833 B
HTML

{% extends "base.html" %}
{% block title %}
{{ _("Modname Uniqueness") }}
{% endblock %}
{% block content %}
<h1><a href="{{ package.getURL("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 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.text }}]
</li>
{% endfor %}
</ul>
{% endfor %}
{% endif %}
{% endblock %}