From c4a4d9c116ae758e1714769fecde35b21d6c6286 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 29 Jul 2019 22:39:56 +0100 Subject: [PATCH] Fix broken link on create thread Fixes #147 --- app/templates/threads/new.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/app/templates/threads/new.html b/app/templates/threads/new.html index ffe6532..d60bf2c 100644 --- a/app/templates/threads/new.html +++ b/app/templates/threads/new.html @@ -6,13 +6,11 @@ {% block content %} -{% if package and current_user != package.author and not current_user.rank.atLeast(current_user.rank.EDITOR) %} - {% if package.issueTracker %} -
- Found a bug? Post on the issue tracker instead.
+{% if package and current_user != package.author and not current_user.rank.atLeast(current_user.rank.EDITOR) and package.issueTracker %} +
+ Found a bug? Post on the issue tracker instead.
If the package shouldn't be on CDB - for example, if it doesn't work at all - then please let us know here. -
- {% endif %} +
{% endif %} {% from "macros/forms.html" import render_field, render_submit_field, render_checkbox_field %}