mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: allow switch account
This commit is contained in:
1 parent
7ca2881787
commit
89424ec9cd
7 files changed
+71
-4
No files matched your search
@@ -79,6 +79,13 @@
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="menu__seperator"></li>
|
||||
{% if handler.user.hasPriv(PRIV.PRIV_EDIT_SYSTEM) %}
|
||||
<li class="menu__item nojs--hide">
|
||||
<a class="menu__link" name="nav_switch_account">
|
||||
<span class="icon icon-user"></span> {{ _('Switch account') }}
|
||||
</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
<li class="menu__item">
|
||||
<a href="{{ url('user_logout') }}" class="menu__link" name="nav_logout">
|
||||
<span class="icon icon-logout"></span> {{ _('Logout') }}
|
||||
|
||||
Reference in new issue
Block a user