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

@ -96,8 +96,8 @@
<li role="menuitem"> <li role="menuitem">
<a accesskey="m" class="{{$nav.moderation.2}}" href="{{$nav.moderation.0}}" title="{{$nav.moderation.3}}">{{$nav.moderation.1}}</a> <a accesskey="m" class="{{$nav.moderation.2}}" href="{{$nav.moderation.0}}" title="{{$nav.moderation.3}}">{{$nav.moderation.1}}</a>
</li> </li>
{{/if}} {{/if}}
{{if $nav.logout}}<li role="menuitem"><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}">{{$nav.logout.1}}</a></li>{{/if}} {{if $nav.logout}}<li role="menuitem"><a class="menu-sep {{$nav.logout.2}}" href="{{$nav.logout.0}}" title="{{$nav.logout.3}}">{{$nav.logout.1}}</a></li>{{/if}}
</ul> </ul>
</li> </li>
{{/if}} {{/if}}
@ -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>