Add link to issue tracker in review form
This commit is contained in:
parent
5314fda342
commit
5e255a07f6
|
@ -11,6 +11,12 @@
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<h1>{{ _("Post a review for %(title)s by %(author)s", title=self.link(), author=package.author.display_name) }}</h1>
|
<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 %}
|
{% from "macros/forms.html" import render_field, render_submit_field, render_toggle_field %}
|
||||||
<form method="POST" action="" enctype="multipart/form-data">
|
<form method="POST" action="" enctype="multipart/form-data">
|
||||||
{{ form.hidden_tag() }}
|
{{ form.hidden_tag() }}
|
||||||
|
|
Loading…
Reference in New Issue