1
1
Fork 0

[frio] Add link to settings in account delegation page

This commit is contained in:
Hypolite Petovan 2020-11-08 02:26:52 -05:00
parent ffb4292b0b
commit 126ef0ae82
2 changed files with 9 additions and 5 deletions

View 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,

View 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>