diff --git a/app/views/projects/versions/view.scala.html b/app/views/projects/versions/view.scala.html index a92579c29..ecb2548ba 100755 --- a/app/views/projects/versions/view.scala.html +++ b/app/views/projects/versions/view.scala.html @@ -91,14 +91,9 @@

@v.v.versionString

@messages("general.delete") } else { - @form(action = versionRoutes.delete( - v.p.project.ownerName, v.p.project.slug, v.v.versionString), - 'class -> "form-inline") { - @CSRF.formField - - } + } } @@ -205,4 +200,32 @@

Dependencies

+ @if(sp.perms(EditVersions) && v.p.versions != 1) { + + } } diff --git a/conf/messages b/conf/messages index 69f7308c2..693705b5c 100755 --- a/conf/messages +++ b/conf/messages @@ -220,6 +220,8 @@ version.approved = Approved version.approved.info = {0} approved this version on {1} version.releaseBulletin = Release Bulletin version.releaseBulletin.info = What''s new in this release? +version.delete.info = Are you sure you want to delete this version? +version.delete.title = Delete version version.download.confirm = Notice | {0}/{1} {2} version.download.confirm.body =

This version has not been reviewed by our moderation staff and may not be safe for download.

Disclaimer: We disclaim all responsibility for any harm to your server or system should you choose not to heed this warning.