From 2d3e7308a542174c3ab6280df55ab4c3f0629372 Mon Sep 17 00:00:00 2001 From: Dongliang Mu Date: Thu, 16 May 2024 09:15:07 +0800 Subject: [PATCH] revert hidding the profile of admin --- dojo_theme/templates/components/navbar.html | 2 -- 1 file changed, 2 deletions(-) diff --git a/dojo_theme/templates/components/navbar.html b/dojo_theme/templates/components/navbar.html index 839426983..f68ab0819 100644 --- a/dojo_theme/templates/components/navbar.html +++ b/dojo_theme/templates/components/navbar.html @@ -30,9 +30,7 @@ {{ 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) }}