mirror of
https://github.com/minetest/contentdb.git
synced 2024-12-23 14:32:25 +01:00
39 lines
1.0 KiB
HTML
39 lines
1.0 KiB
HTML
{% extends "packages/package_base.html" %}
|
|
|
|
{% block title %}
|
|
{{ _("Releases - %(title)s", title=package.title) }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<p class="float-right">
|
|
{% if package.update_config %}
|
|
<a class="btn btn-secondary" href="{{ package.getUpdateConfigURL() }}">
|
|
<i class="fas fa-cog mr-1"></i>
|
|
{{ _("Update settings") }}
|
|
</a>
|
|
{% elif package.repo %}
|
|
<a class="btn btn-secondary" href="{{ package.getSetupReleasesURL() }}">
|
|
<i class="fas fa-hat-wizard mr-1"></i>
|
|
{{ _("Set up automatic releases") }}
|
|
</a>
|
|
{% endif %}
|
|
|
|
<a class="btn btn-secondary ml-1" href="{{ package.getBulkReleaseURL() }}">
|
|
<i class="fas fa-wrench mr-1"></i>
|
|
Bulk update
|
|
</a>
|
|
|
|
<a class="btn btn-primary ml-1" href="{{ package.getCreateReleaseURL() }}">
|
|
<i class="fas fa-plus mr-1"></i>
|
|
Create
|
|
</a>
|
|
</p>
|
|
|
|
<h2 class="mt-0">{{ _("Releases") }}</h2>
|
|
|
|
<ul class="list-group">
|
|
{% from "macros/releases.html" import render_releases %}
|
|
{{ render_releases(package.releases, package, current_user) }}
|
|
</ul>
|
|
{% endblock %}
|