{% extends "packages/package_base.html" %} {% block title %} {{ _("Releases - %(title)s", title=package.title) }} {% endblock %} {% block content %} {% if package.checkPerm(current_user, "MAKE_RELEASE") %}

{% if package.update_config %} {{ _("Update settings") }} {% elif package.repo %} {{ _("Set up automatic releases") }} {% endif %} Bulk update Create

{% endif %}

## {{ _("Releases") }}

{% from "macros/releases.html" import render_releases_edit, render_releases_download %} {% if package.checkPerm(current_user, "MAKE_RELEASE") %} {{ render_releases_edit(package.releases, package) }} {% else %} {{ render_releases_download(package.releases, package, current_user) }} {% endif %}
{% endblock %}