diff options
| author | rubenwardy <rw@rubenwardy.com> | 2020-07-10 19:01:58 +0100 |
|---|---|---|
| committer | rubenwardy <rw@rubenwardy.com> | 2020-07-10 19:01:58 +0100 |
| commit | 1989eabf86729bcd16e226d96d5e4acacddbaae9 (patch) | |
| tree | 0a6de3048da33f1da16ccf4a1391a686489dcd3d /app/templates/threads/view.html | |
| parent | 491f9ed6796b1aa34437f3247cb8956c928b1143 (diff) | |
| download | cheatdb-1989eabf86729bcd16e226d96d5e4acacddbaae9.tar.xz | |
Add more obvious edit buttons for reviews
Diffstat (limited to 'app/templates/threads/view.html')
| -rw-r--r-- | app/templates/threads/view.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/templates/threads/view.html b/app/templates/threads/view.html index b91f866..b10d1e1 100644 --- a/app/templates/threads/view.html +++ b/app/templates/threads/view.html @@ -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 %} |
