From f3b3c4e8660a99b00d69e3738bd569767ad0100c Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 17 Jan 2020 12:44:26 +0000 Subject: [PATCH] Link to registration added --- src/Module/Settings/Delegation.php | 5 ++++- view/templates/settings/delegation.tpl | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Module/Settings/Delegation.php b/src/Module/Settings/Delegation.php index 283753d126..d9ae60582c 100644 --- a/src/Module/Settings/Delegation.php +++ b/src/Module/Settings/Delegation.php @@ -140,12 +140,15 @@ class Delegation extends BaseSettingsModule $o = Renderer::replaceMacros(Renderer::getMarkupTemplate('settings/delegation.tpl'), [ '$form_security_token' => BaseModule::getFormSecurityToken('delegate'), + '$account_header' => L10n::t('Additional Accounts'), + '$account_desc' => L10n::t('Register additional accounts that are automatically connected to your existing account so you can manage it from this account.'), + '$add_account' => L10n::t('Register an additional account'), '$parent_header' => L10n::t('Parent User'), '$parent_user' => $parent_user, '$parent_password' => $parent_password, '$parent_desc' => L10n::t('Parent users have total control about this account, including the account settings. Please double check whom you give this access.'), '$submit' => L10n::t('Save Settings'), - '$header' => L10n::t('Delegate Page Management'), + '$header' => L10n::t('Manage Accounts'), '$delegates_header' => L10n::t('Delegates'), '$base' => DI::baseUrl(), '$desc' => L10n::t('Delegates are able to manage all aspects of this account/page except for basic account settings. Please do not delegate your personal account to anybody that you do not trust completely.'), diff --git a/view/templates/settings/delegation.tpl b/view/templates/settings/delegation.tpl index 9e7242de67..be8fdf606e 100644 --- a/view/templates/settings/delegation.tpl +++ b/view/templates/settings/delegation.tpl @@ -11,6 +11,10 @@
+{{else}} +

{{$account_header}}

+
{{$account_desc}}
+{{$add_account}} {{/if}}

{{$delegates_header}}

-- 2.39.5