Add link to updateconfig from new release

This commit is contained in:
rubenwardy 2020-12-15 22:04:19 +00:00
parent 6e763b8453
commit 2f2b8dc983

@ -7,7 +7,12 @@
{% block content %}
<h1>{{ _("Create a release") }}</h1>
{% if not (package.repo and package.update_config) %}
{% if package.update_config %}
<p class="alert alert-secondary mb-4">
<a class="float-right btn btn-sm btn-secondary" href="{{ package.getUpdateConfigURL() }}">{{ _("Settings") }}</a>
{{ _("You have automatic releases enabled") }}
</p>
{% else %}
<p class="alert alert-info mb-4">
{% if package.repo %}
<a class="float-right btn btn-sm btn-info" href="{{ package.getSetupReleasesURL() }}">{{ _("Set up") }}</a>