{% if handler.user.hasPerm(perm.PERM_REJUDGE) and not rdoc.files.hack %}
<divclass="section__body no-padding">
<olclass="menu">
<liclass="menu__item">
@ -48,7 +48,7 @@
</ol>
</div>
{% endif %}
{% if handler.user.hasPerm(perm.PERM_SUBMIT_PROBLEM) and pdoc.config.hackable and rdoc.status === STATUS.STATUS_ACCEPTED %}
{% if handler.user.hasPerm(perm.PERM_SUBMIT_PROBLEM) and pdoc.config.hackable and rdoc.status === STATUS.STATUS_ACCEPTED and rdoc.uid !== handler.user._id %}
{% if handler.user.hasPerm(perm.PERM_REJUDGE) and rdoc['status'] == STATUS.STATUS_HACK_SUCCESSFUL and rdoc['status'] == STATUS.STATUS_HACK_UNSUCCESSFUL %}
{% if handler.user.hasPerm(perm.PERM_REJUDGE) and not rdoc.files.hack %}