Add more obvious edit buttons for reviews

This commit is contained in:
rubenwardy
2020-07-10 19:01:58 +01:00
parent 491f9ed679
commit 1989eabf86
5 changed files with 26 additions and 11 deletions

View File

@@ -19,6 +19,14 @@ Threads
{% endif %}
{% endif %}
{% if current_user == thread.author and thread.review %}
<a class="btn btn-primary ml-1 float-right mr-2"
href="{{ thread.review.package.getReviewURL() }}">
<i class="fas fa-edit"></i>
{{ _("Edit Review") }}
</a>
{% endif %}
<h1>
{% if thread.review %}
{% if thread.review.recommends %}