aboutsummaryrefslogtreecommitdiff
path: root/app/templates/threads
diff options
context:
space:
mode:
authorrubenwardy <rw@rubenwardy.com>2019-01-28 19:41:24 +0000
committerrubenwardy <rw@rubenwardy.com>2019-01-28 19:41:24 +0000
commite9fe936aa98e9325034750f2f327ad4271c7e55d (patch)
treea506ff83efbdd886ef6e65e2cff7053ab244b01c /app/templates/threads
parent8afe17b984cae3d1e934f92024bbc683d4668c48 (diff)
downloadcheatdb-e9fe936aa98e9325034750f2f327ad4271c7e55d.tar.xz
Increase visibility of thread creation
Diffstat (limited to 'app/templates/threads')
-rw-r--r--app/templates/threads/new.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/templates/threads/new.html b/app/templates/threads/new.html
index fec4468..ffe6532 100644
--- a/app/templates/threads/new.html
+++ b/app/templates/threads/new.html
@@ -6,6 +6,15 @@
{% block content %}
+{% if package and current_user != package.author and not current_user.rank.atLeast(current_user.rank.EDITOR) %}
+ {% if package.issueTracker %}
+ <div class="alert alert-warning">
+ Found a bug? Post on the <a href="{{ package.issue_tracker }}">issue tracker</a> instead.<br />
+ If the package shouldn't be on CDB - for example, if it doesn't work at all - then please let us know here.
+ </div>
+ {% endif %}
+{% endif %}
+
{% from "macros/forms.html" import render_field, render_submit_field, render_checkbox_field %}
<form method="POST" action="" enctype="multipart/form-data">
{{ form.hidden_tag() }}