aboutsummaryrefslogtreecommitdiff
path: root/app/templates/threads/new.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/threads/new.html')
-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() }}