mirror of
https://github.com/minetest/contentdb.git
synced 2025-01-09 22:47:36 +01:00
Add report issue button to review form
This commit is contained in:
parent
2c52f06744
commit
b3847da28e
@ -154,20 +154,28 @@
|
|||||||
{{ _("Do you recommend this %(type)s?", type=package.type.text | lower) }}
|
{{ _("Do you recommend this %(type)s?", type=package.type.text | lower) }}
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<div class="btn-group">
|
<div class="btn-toolbar" role="toolbar">
|
||||||
|
<div class="btn-group mr-2">
|
||||||
<button class="btn btn-primary" name="rating" value="5">
|
<button class="btn btn-primary" name="rating" value="5">
|
||||||
<i class="fas fa-thumbs-up mr-2"></i>
|
<i class="fas fa-thumbs-up mr-1"></i>
|
||||||
{{ _("Yes") }}
|
{{ _("Yes") }}
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-primary" name="rating" value="3">
|
<button class="btn btn-primary" name="rating" value="3">
|
||||||
<i class="fas fa-minus mr-2"></i>
|
<i class="fas fa-minus mr-1"></i>
|
||||||
{{ _("Neutral") }}
|
{{ _("Neutral") }}
|
||||||
</button>
|
</button>
|
||||||
<button class="btn btn-primary" name="rating" value="1">
|
<button class="btn btn-primary" name="rating" value="1">
|
||||||
<i class="fas fa-thumbs-down mr-2"></i>
|
<i class="fas fa-thumbs-down mr-1"></i>
|
||||||
{{ _("No") }}
|
{{ _("No") }}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="btn-group">
|
||||||
|
<a class="btn btn-secondary" href="{{ package.issueTracker or url_for('threads.new', pid=package.id) }}" rel="ugc">
|
||||||
|
<i class="fas fa-bug mr-1"></i>
|
||||||
|
Report an Issue
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{% endmacro %}
|
{% endmacro %}
|
||||||
|
Loading…
Reference in New Issue
Block a user