mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 22:42:25 +01:00
347f8e5a22
Fixes #270
28 lines
700 B
HTML
28 lines
700 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ _("Aliases") }}
|
|
{% endblock %}
|
|
|
|
{% block link %}
|
|
<a href="{{ package.getDetailsURL() }}">{{ package.title }}</a>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<a class="btn btn-primary float-right" href="{{ package.getAliasCreateURL() }}">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.getEditURL() }}">
|
|
{{ alias.author }} / {{ alias.name }}
|
|
</a>
|
|
{% else %}
|
|
<div class="list-group-item">
|
|
No aliases
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
{% endblock %}
|