Add link to issue tracker in review form

This commit is contained in:
rubenwardy 2021-01-24 13:10:20 +00:00
parent 5314fda342
commit 5e255a07f6

@ -11,6 +11,12 @@
{% block content %}
<h1>{{ _("Post a review for %(title)s by %(author)s", title=self.link(), author=package.author.display_name) }}</h1>
{% if package.issueTracker %}
<p class="alert alert-secondary">
Found a bug? Post on the <a href="{{ package.issueTracker }}">issue tracker</a> instead.<br />
</p>
{% endif %}
{% from "macros/forms.html" import render_field, render_submit_field, render_toggle_field %}
<form method="POST" action="" enctype="multipart/form-data">
{{ form.hidden_tag() }}