From 126ef0ae823b4939a12b4e705e7301988db30aa4 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 8 Nov 2020 02:26:52 -0500 Subject: [PATCH] [frio] Add link to settings in account delegation page --- src/Module/Delegation.php | 3 ++- view/templates/delegation.tpl | 11 +++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/Module/Delegation.php b/src/Module/Delegation.php index b6451c85a..f68b9db8d 100644 --- a/src/Module/Delegation.php +++ b/src/Module/Delegation.php @@ -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, diff --git a/view/templates/delegation.tpl b/view/templates/delegation.tpl index 0e8e406d0..e95bea3bb 100644 --- a/view/templates/delegation.tpl +++ b/view/templates/delegation.tpl @@ -1,7 +1,6 @@ - -

{{$title}}

-
{{$desc nofilter}}
-
{{$choose}}
+

{{$title}}

+

{{$desc nofilter}}

+

{{$choose}}

+ +

+ {{$settings_label}} +