]> git.mxchange.org Git - friendica.git/commitdiff
Add missing links to moderation section
authorHypolite Petovan <hypolite@mrpetovan.com>
Tue, 8 Nov 2022 14:16:36 +0000 (09:16 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Tue, 8 Nov 2022 14:16:36 +0000 (09:16 -0500)
view/theme/frio/templates/nav.tpl
view/theme/vier/templates/nav.tpl

index ec8d54bccbd8af530c5f311a02db0c8948d0aa6f..f151ce8d2d87e21a2ebac737c339b1b1430252c8 100644 (file)
                                                                                <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>
                                                                        </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"
index bf4a7efe9bdc761f3bf1ce7d51835f57ed92c494..7cbc2eb1ba721f33c48fddc7293a0939e4af44b8 100644 (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}}
                        </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>