[frio] Add link to settings in account delegation page
This commit is contained in:
parent
ffb4292b0b
commit
126ef0ae82
|
@ -144,7 +144,8 @@ class Delegation extends BaseModule
|
||||||
}
|
}
|
||||||
|
|
||||||
$o = Renderer::replaceMacros(Renderer::getMarkupTemplate('delegation.tpl'), [
|
$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'),
|
'$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: '),
|
'$choose' => DI::l10n()->t('Select an identity to manage: '),
|
||||||
'$identities' => $identities,
|
'$identities' => $identities,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
|
<h1>{{$title}}</h1>
|
||||||
<h3>{{$title}}</h3>
|
<p id="identity-delegation-desc">{{$desc nofilter}}</p>
|
||||||
<div id="identity-delegation-desc">{{$desc nofilter}}</div>
|
<p id="identity-delegation-choose">{{$choose}}</p>
|
||||||
<div id="identity-delegation-choose">{{$choose}}</div>
|
|
||||||
|
|
||||||
<div id="identity-selector-wrapper" role="menu">
|
<div id="identity-selector-wrapper" role="menu">
|
||||||
<form action="delegation" method="post">
|
<form action="delegation" method="post">
|
||||||
|
@ -35,3 +34,7 @@
|
||||||
|
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<a href="settings/delegation" class="btn btn-primary"><i class="fa fa-cog"></i> {{$settings_label}}</a>
|
||||||
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user