Remove webhook creation wizard

This commit is contained in:
rubenwardy
2021-01-26 16:22:13 +00:00
parent 46b60f9d24
commit e8dca43f44
4 changed files with 9 additions and 185 deletions

View File

@@ -17,12 +17,11 @@
</p>
{% if package.checkPerm(current_user, "APPROVE_RELEASE") and package.getIsOnGitHub() %}
<p class="alert alert-info mb-4">
<p class="alert alert-secondary mb-4">
<a class="float-right btn btn-sm btn-info" href="{{ url_for('flatpage', path='help/release_webhooks') }}">{{ _("Learn more") }}</a>
<a class="float-right btn btn-sm btn-info mr-2" href="{{ url_for('github.setup_webhook', pid=package.id) }}">{{ _("Setup webhook") }}</a>
<i class="fas fa-info mr-2"></i>
{{ _("You can create releases faster by using a webhook.") }}
{{ _("You can create releases faster by using a webhook or the API.") }}
</p>
{% endif %}