Add package soft deletion

This commit is contained in:
rubenwardy
2018-05-25 18:28:24 +01:00
parent f93394df75
commit 8cf5c7204f
12 changed files with 120 additions and 16 deletions

View File

@@ -91,6 +91,9 @@
{% if package.checkPerm(current_user, "MAKE_RELEASE") %}
<li><a href="{{ package.getCreateReleaseURL() }}">Create Release</a></li>
{% endif %}
{% if package.checkPerm(current_user, "DELETE_PACKAGE") %}
<li><a href="{{ package.getDeleteURL() }}">Delete</a></li>
{% endif %}
</ul>
</div>
</aside>