Fix: Upvoted/Downvoted link visibility was based on the viewee, not the viewer.
This commit is contained in:
parent
19e9c1a20e
commit
5023ca8ada
1 changed files with 2 additions and 2 deletions
|
@ -104,7 +104,7 @@
|
|||
{% else %}<pre></pre>
|
||||
{% endif %}
|
||||
|
||||
{% if u.admin_level >= 2 %}
|
||||
{% if v.admin_level >= 2 %}
|
||||
<div class="font-weight-bolder mb-2"><a class="mr-1" href="/@{{u.username}}/upvoters">Upvoters</a> | <a class="mx-1" href="/@{{u.username}}/downvoters">Downvoters</a> | <a class="mx-1" href="/@{{u.username}}/upvoting">Upvoted</a> | <a class="ml-1" href="/@{{u.username}}/downvoting">Downvoted</a></div>
|
||||
{% endif %}
|
||||
|
||||
|
@ -365,7 +365,7 @@
|
|||
<pre></pre>
|
||||
{% endif %}
|
||||
|
||||
{% if u.admin_level >= 2 %}
|
||||
{% if v.admin_level >= 2 %}
|
||||
<div class="font-weight-bolder mb-2"><a class="mr-1" href="/@{{u.username}}/upvoters">Upvoters</a> | <a class="mx-1" href="/@{{u.username}}/downvoters">Downvoters</a> | <a class="mx-1" href="/@{{u.username}}/upvoting">Upvoted</a> | <a class="ml-1" href="/@{{u.username}}/downvoting">Downvoted</a></div>
|
||||
{% endif %}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue