ui: bug fix

pull/573/head
undefined 1 year ago
parent 1b1faa9ff9
commit 34bbb5b2cf
No known key found for this signature in database

@ -61,7 +61,7 @@
</form>
</li>
{% endif %}
{% set _canViewSolution = handler.user.hasPerm(perm.PERM_VIEW_PROBLEM_SOLUTION) or (handler.user.hasPerm(perm.PERM_VIEW_PROBLEM_SOLUTION_ACCEPT) and tsdoc.status == STATUS.STATUS_ACCEPTED) %}
{% set _canViewSolution = handler.user.hasPerm(perm.PERM_VIEW_PROBLEM_SOLUTION) or (handler.user.hasPerm(perm.PERM_VIEW_PROBLEM_SOLUTION_ACCEPT) and psdoc.status == STATUS.STATUS_ACCEPTED) %}
{% if handler.user.hasPerm(perm.PERM_VIEW_DISCUSSION) or _canViewSolution %}
<li class="menu__seperator"></li>
{% endif %}

Loading…
Cancel
Save