]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Add link to settings in account delegation page
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 8 Nov 2020 07:26:52 +0000 (02:26 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 8 Nov 2020 17:53:12 +0000 (12:53 -0500)
src/Module/Delegation.php
view/templates/delegation.tpl

index b6451c85af2d2822bec11cc3288fe636f9b94e0b..f68b9db8d5cbd7d73f6cb869ad428885af97ada1 100644 (file)
@@ -144,7 +144,8 @@ class Delegation extends BaseModule
                }
 
                $o = Renderer::replaceMacros(Renderer::getMarkupTemplate('delegation.tpl'), [
-                       '$title'      => DI::l10n()->t('Manage Identities and/or Pages'),
+                       '$title'      => DI::l10n()->t('Switch between your accounts'),
+                       '$settings_label' => DI::l10n()->t('Manage your accounts'),
                        '$desc'       => DI::l10n()->t('Toggle between different identities or community/group pages which share your account details or which you have been granted "manage" permissions'),
                        '$choose'     => DI::l10n()->t('Select an identity to manage: '),
                        '$identities' => $identities,
index 0e8e406d0c76b490a66f34e84e53cc450710dd60..e95bea3bb7dcfc2f498cff5b6ab2010b7c985bc6 100644 (file)
@@ -1,7 +1,6 @@
-
-<h3>{{$title}}</h3>
-<div id="identity-delegation-desc">{{$desc nofilter}}</div>
-<div id="identity-delegation-choose">{{$choose}}</div>
+<h1>{{$title}}</h1>
+<p id="identity-delegation-desc">{{$desc nofilter}}</p>
+<p id="identity-delegation-choose">{{$choose}}</p>
 
 <div id="identity-selector-wrapper" role="menu">
        <form action="delegation" method="post">
@@ -35,3 +34,7 @@
 
        </form>
 </div>
+
+<p>
+       <a href="settings/delegation" class="btn btn-primary"><i class="fa fa-cog"></i> {{$settings_label}}</a>
+</p>