diff options
Diffstat (limited to 'app/templates/packages/view.html')
| -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> |
