mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
为超级管理员添加前台到后台的链接
This commit is contained in:
parent
6c07396cea
commit
0bbd4a1a06
@ -57,6 +57,9 @@
|
|||||||
{{ request.user.username }}
|
{{ request.user.username }}
|
||||||
<span class="caret"></span></a>
|
<span class="caret"></span></a>
|
||||||
<ul class="dropdown-menu">
|
<ul class="dropdown-menu">
|
||||||
|
{% if request.user.admin_type == 2 %}
|
||||||
|
<li><a href="/admin/">后台管理</a></li>
|
||||||
|
{% endif %}
|
||||||
<li><a href="/submissions/">我的提交</a></li>
|
<li><a href="/submissions/">我的提交</a></li>
|
||||||
<li><a href="#">我的资料</a></li>
|
<li><a href="#">我的资料</a></li>
|
||||||
<li role="separator" class="divider"></li>
|
<li role="separator" class="divider"></li>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user