Refactor package URL generation
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
|
||||
{% if current_user == thread.author and thread.review and thread.replies[0] == r %}
|
||||
<a class="float-right btn btn-primary btn-sm ml-2"
|
||||
href="{{ thread.review.package.getReviewURL() }}">
|
||||
href="{{ thread.review.package.getURL("packages.review") }}">
|
||||
<i class="fas fa-pen"></i>
|
||||
</a>
|
||||
{% elif r.checkPerm(current_user, "EDIT_REPLY") %}
|
||||
|
||||
Reference in New Issue
Block a user