diff --git a/app/templates/packages/release_new.html b/app/templates/packages/release_new.html index 9392ff6..9a95530 100644 --- a/app/templates/packages/release_new.html +++ b/app/templates/packages/release_new.html @@ -5,6 +5,24 @@ {% endblock %} {% block content %} +
+ {{ _("Learn more") }} + {% if package.author == current_user and package.checkPerm(current_user, "APPROVE_RELEASE") and package.getIsOnGitHub() %} + {{ _("Setup webhook") }} + + + {{ _("Set up a webhook on GitHub to create releases automatically.") }} + {% elif package.repo %} + + + {{ _("You can create releases automatically when you push commits or tags to your repository.") }} + {% else %} + + + {{ _("Using git will allow you to create releases automatically when you push code or tags.") }} + {% endif %} +
+ {% from "macros/forms.html" import render_field, render_submit_field, render_radio_field %}