Skip to content

Commit

Permalink
Rearrange some management navitems
Browse files Browse the repository at this point in the history
  • Loading branch information
sh4nks committed Oct 8, 2016
1 parent 0f43750 commit 81c4113
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions flaskbb/templates/management/management_layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@
<div class="panel-heading management-head">
<ul class="nav nav-tabs nav-justified">
{{ navlink('management.overview', _('Overview'), 'fa fa-tasks') }}
{{ navlink('management.users', _('Users'), 'fa fa-user', active=active_management_user_nav) }}
{{ navlink('management.unread_reports', _('Reports'), 'fa fa-flag', active=active_management_report_nav) }}

{% if current_user|is_admin %}
{{ navlink('management.settings', _('Settings'), 'fa fa-cogs') }}
{{ navlink('management.groups', _('Groups'), 'fa fa-users', active=active_management_group_nav) }}
{{ navlink('management.forums', _('Forums'), 'fa fa-comments',active=active_management_forum_nav) }}
{{ navlink('management.plugins', _('Plugins'), 'fa fa-puzzle-piece') }}
{{ navlink('management.groups', _('Groups'), 'fa fa-users', active=active_management_group_nav) }}
{% endif %}

{{ navlink('management.users', _('Users'), 'fa fa-user', active=active_management_user_nav) }}
{{ navlink('management.unread_reports', _('Reports'), 'fa fa-flag', active=active_management_report_nav) }}
</ul>
</div>
<div class="panel-body management-body">
Expand Down

0 comments on commit 81c4113

Please sign in to comment.