Allow admin to see voting stat

This commit is contained in:
cuom1999 2022-03-10 23:48:04 -06:00
parent 3bf3754baf
commit ca3133c17d
2 changed files with 5 additions and 3 deletions

View file

@ -349,7 +349,7 @@
{% endblock %}
{% block post_description_end %}
{% if can_vote %}
{% if can_vote or request.user.is_superuser %}
{% include 'problem/voting-controls.html' %}
{% endif %}
{% if request.user.is_authenticated and not request.profile.mute %}