Add ability to bulk change releases

This commit is contained in:
rubenwardy
2019-01-28 21:49:29 +00:00
parent 84b996c489
commit 5cd8b35d1f
5 changed files with 75 additions and 5 deletions

View File

@@ -237,10 +237,12 @@
<div class="card my-4">
<div class="card-header">
Releases
{% if package.checkPerm(current_user, "MAKE_RELEASE") %}
<a class="float-right"
href="{{ package.getCreateReleaseURL() }}">+</a>
{% endif %}
<div class="float-right">
{% if package.checkPerm(current_user, "MAKE_RELEASE") %}
<a href="{{ package.getBulkReleaseURL() }}">bulk</a>
<a href="{{ package.getCreateReleaseURL() }}">+</a>
{% endif %}
</div>
</div>
<ul class="list-group list-group-flush">
{% for rel in releases %}