diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-01-24 23:19:06 +0000 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-01-24 23:19:06 +0000 |
| commit | e12aec4ccdef7752fb87bd857a48eb4587016573 (patch) | |
| tree | 2a1feae67fb204b0f308258ce70bd8e4ac26d887 /app/templates/packages | |
| parent | d4936e18ee93f8ee8aedce4bc732af5068974536 (diff) | |
| download | cheatdb-e12aec4ccdef7752fb87bd857a48eb4587016573.tar.xz | |
Add automatic GitHub webhook creation
Diffstat (limited to 'app/templates/packages')
| -rw-r--r-- | app/templates/packages/view.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index 77b84da..e5ab1e4 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -364,6 +364,15 @@ </ul> </div> + {% if package.getIsOnGitHub() %} + <p class="small text-centered"> + <a href="{{ url_for('github.setup_webhook', pid=package.id) }}"> + Set up a webhook + </a> + to create releases automatically. + </p> + {% endif %} + <div class="card my-4"> <div class="card-header"> {% if package.approved and package.checkPerm(current_user, "CREATE_THREAD") %} |
