aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2018-05-23 17:40:15 +0100
committerrubenwardy <rw@rubenwardy.com>2018-05-23 17:40:15 +0100
commita5eb97e0af8266f12c254a825d9240ae29b18c62 (patch)
tree4d6f7a80889e23f62408659194070b81fe765a83 /app
parent98d37dfe2136c816d06ae34b76ee4abc44229258 (diff)
downloadcheatdb-a5eb97e0af8266f12c254a825d9240ae29b18c62.tar.xz
Add -t option to populate with test values, hide suggest changes button
Diffstat (limited to 'app')
-rw-r--r--app/templates/packages/view.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html
index 565c4d3..26bb0eb 100644
--- a/app/templates/packages/view.html
+++ b/app/templates/packages/view.html
@@ -74,8 +74,9 @@
{% if package.checkPerm(current_user, "EDIT_PACKAGE") %}
<li><a href="{{ package.getEditURL() }}">Edit</a></li>
<li><a href="{{ package.getNewScreenshotURL() }}">Add screenshot</a></li>
- {% elif current_user.is_authenticated %}
- <li><a href="{{ package.getCreateEditRequestURL() }}">Suggest Change</a></li>
+ {% endif %}
+ {% if current_user.is_authenticated %}
+ <!-- <li><a href="{{ package.getCreateEditRequestURL() }}">Suggest Change</a></li> -->
{% endif %}
{% if package.checkPerm(current_user, "MAKE_RELEASE") %}
<li><a href="{{ package.getCreateReleaseURL() }}">Create Release</a></li>