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
1 changed files with 6 additions and 0 deletions

View File

@ -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() }}