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">
<a accesskey="m" role="menuitem" id="nav-moderation-link"
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}}
</a>
</li>
@ -392,6 +392,15 @@
</a>
</li>
{{/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}}
<li role="presentation" class="list-group-item">
<a role="menuitem"

View file

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