diff options
| author | rubenwardy <rw@rubenwardy.com> | 2018-07-07 00:28:27 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2018-07-07 00:28:27 +0100 |
| commit | 13837ce88bf6c80af9308942843425a89f244ba3 (patch) | |
| tree | 7abacaa0ae192f47b9d13913d0302b87795cc205 /app/templates/packages | |
| parent | 73c65e3561618c12f9eed11cc204fc346cd14afa (diff) | |
| download | cheatdb-1.8.0.tar.xz | |
Add forum topic validationv1.8.0
Diffstat (limited to 'app/templates/packages')
| -rw-r--r-- | app/templates/packages/view.html | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/templates/packages/view.html b/app/templates/packages/view.html index df31ce1..b118046 100644 --- a/app/templates/packages/view.html +++ b/app/templates/packages/view.html @@ -24,6 +24,9 @@ {% elif (package.type == package.type.GAME or package.type == package.type.TXP) and package.screenshots.count() == 0 %} You need to add at least one screenshot. + {% elif topic_error_lvl == "error" %} + Please fix the below topic issue(s). + {% else %} {% if package.screenshots.count() == 0 %} <b>You should add at least one screenshot, but this isn't required.</b><br /> @@ -44,6 +47,14 @@ <div style="clear: both;"></div> </div> + {% if topic_error %} + <div class="box box_grey alert alert-{{ topic_error_lvl }}"> + <span class="icon_message"></span> + {{ topic_error | safe }} + <div style="clear: both;"></div> + </div> + {% endif %} + {% if package.author == current_user or package.checkPerm(current_user, "APPROVE_NEW") %} {% if review_thread %} <h2>🔒 {{ review_thread.title }}</h2> |
