mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-24 15:02:25 +01:00
30 lines
754 B
HTML
30 lines
754 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ _("Aliases") }}
|
|
{% endblock %}
|
|
|
|
{% block link %}
|
|
<a href="{{ package.get_url('packages.view') }}">{{ package.title }}</a>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<a class="btn btn-primary float-right" href="{{ package.get_url('packages.alias_create_edit') }}">
|
|
{{ _("Create") }}
|
|
</a>
|
|
<h1>{{ _("Aliases for %(title)s by %(author)s", title=self.link(), author=package.author.display_name) }}</h1>
|
|
|
|
<div class="list-group">
|
|
{% for alias in package.aliases %}
|
|
<a class="list-group-item list-group-item-action" href="{{ alias.get_edit_url() }}">
|
|
{{ alias.author }} / {{ alias.name }}
|
|
</a>
|
|
{% else %}
|
|
<div class="list-group-item">
|
|
{{ _("No aliases") }}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
{% endblock %}
|