Skip to content

Commit

Permalink
revert hidding the profile of admin
Browse files Browse the repository at this point in the history
  • Loading branch information
mudongliang committed May 16, 2024
1 parent ddbbf12 commit 2d3e730
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions dojo_theme/templates/components/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -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) }}

Expand Down

0 comments on commit 2d3e730

Please sign in to comment.