Fix broken link on create thread

Fixes #147
This commit is contained in:
rubenwardy 2019-07-29 22:39:56 +01:00
parent 87a184595c
commit c4a4d9c116
1 changed files with 4 additions and 6 deletions

View File

@ -6,14 +6,12 @@
{% block content %}
{% if package and current_user != package.author and not current_user.rank.atLeast(current_user.rank.EDITOR) %}
{% if package.issueTracker %}
{% if package and current_user != package.author and not current_user.rank.atLeast(current_user.rank.EDITOR) and package.issueTracker %}
<div class="alert alert-warning">
Found a bug? Post on the <a href="{{ package.issue_tracker }}">issue tracker</a> instead.<br />
Found a bug? Post on the <a href="{{ package.issueTracker }}">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">