Add missing links to moderation section

This commit is contained in:
Hypolite Petovan 2022-11-08 09:16:36 -05:00
parent 48090d1b70
commit 8161a32b77
2 changed files with 18 additions and 3 deletions

View File

@ -269,7 +269,7 @@
<li role="presentation"> <li role="presentation">
<a accesskey="m" role="menuitem" id="nav-moderation-link" <a accesskey="m" role="menuitem" id="nav-moderation-link"
class="nav-link {{$nav.moderation.2}}" href="{{$nav.moderation.0}}" class="nav-link {{$nav.moderation.2}}" href="{{$nav.moderation.0}}"
title="{{$nav.moderation.3}}"><i class="fa fa-user-secret fa-fw" aria-hidden="true"></i> title="{{$nav.moderation.3}}"><i class="fa fa-gavel fa-fw" aria-hidden="true"></i>
{{$nav.moderation.1}} {{$nav.moderation.1}}
</a> </a>
</li> </li>
@ -392,6 +392,15 @@
</a> </a>
</li> </li>
{{/if}} {{/if}}
{{if $nav.moderation}}
<li role="presentation" class="list-group-item">
<a role="menuitem"
class="nav-link {{$nav.moderation.2}}" href="{{$nav.moderation.0}}" title="{{$nav.moderation.3}}"><i
class="fa fa-gavel fa-fw" aria-hidden="true"></i>
{{$nav.moderation.1}}
</a>
</li>
{{/if}}
{{if $nav.logout}} {{if $nav.logout}}
<li role="presentation" class="list-group-item"> <li role="presentation" class="list-group-item">
<a role="menuitem" <a role="menuitem"

View File

@ -133,6 +133,12 @@
</li> </li>
{{/if}} {{/if}}
{{if $nav.moderation}}
<li role="menuitem" id="nav-moderation-link" class="nav-menu">
<a accesskey="a" class="{{$nav.moderation.2}} icon-sliders" href="{{$nav.moderation.0}}" title="{{$nav.moderation.3}}"><span class="sr-only">{{$nav.moderation.3}}</span></a>
</li>
{{/if}}
{{if $nav.apps}} {{if $nav.apps}}
<li role="menu" aria-haspopup="true" id="nav-apps-link" class="nav-menu {{$sel.apps}}"> <li role="menu" aria-haspopup="true" id="nav-apps-link" class="nav-menu {{$sel.apps}}">
<a class=" {{$nav.apps.2}}" title="{{$nav.apps.3}}">{{$nav.apps.1}}</a> <a class=" {{$nav.apps.2}}" title="{{$nav.apps.3}}">{{$nav.apps.1}}</a>