1
0
Fork 0

Merge pull request #12144 from MrPetovan/bug/moderation

Add missing links to moderation section
This commit is contained in:
Philipp 2022-11-08 17:26:19 +01:00 committed by GitHub
commit 3bd6acba7e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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>