diff --git a/dojo_theme/templates/components/navbar.html b/dojo_theme/templates/components/navbar.html index a3b967b6e..6ad1ed025 100644 --- a/dojo_theme/templates/components/navbar.html +++ b/dojo_theme/templates/components/navbar.html @@ -30,7 +30,9 @@ {{ navitem("管理面板", url_for("admin.view"), "fa-wrench") }} {% endif %} + {% if not is_admin() %} {{ navitem("简介", url_for("pwncollege_users.view_self"), "fa-user-circle") }} + {% endif %} {{ navitem("设置", url_for("views.settings"), "fa-cogs") }} {{ navitem("注销", url_for("auth.logout"), "fa-sign-out-alt", shrink=True) }}