mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
add contest_user
This commit is contained in:
1 parent
d67a0339fd
commit
e6ffdaf11e
8 files changed
+206
-8
No files matched your search
@@ -75,6 +75,9 @@
|
||||
<li class="menu__item"><a class="menu__link" href="{{ url('contest_files', tid=tdoc.docId) }}">
|
||||
<span class="icon icon-file"></span> {{ _('Files') }}
|
||||
</a></li>
|
||||
<li class="menu__item"><a class="menu__link" href="{{ url('contest_user', tid=tdoc.docId) }}">
|
||||
<span class="icon icon-user"></span> {{ _('Attender Manage') }}
|
||||
</a></li>
|
||||
{% endif %}
|
||||
{% if handler.user.own(tdoc) or handler.user.hasPriv(PRIV.PRIV_READ_RECORD_CODE) or handler.user.hasPerm(perm.PERM_READ_RECORD_CODE) %}
|
||||
{% if model.contest.canShowRecord.call(handler, tdoc, true) %}
|
||||
|
||||
Reference in new issue
Block a user