Move ACL full selector template to subfolder
- Fix display overflow in contact complete suggestion box
This commit is contained in:
parent
3d455645e7
commit
a844fd8f58
|
@ -303,7 +303,7 @@ class ACL
|
||||||
'emailcc' => $form_prefix ? $form_prefix . '[emailcc]' : 'emailcc',
|
'emailcc' => $form_prefix ? $form_prefix . '[emailcc]' : 'emailcc',
|
||||||
];
|
];
|
||||||
|
|
||||||
$tpl = Renderer::getMarkupTemplate('acl_selector.tpl');
|
$tpl = Renderer::getMarkupTemplate('acl/full_selector.tpl');
|
||||||
$o = Renderer::replaceMacros($tpl, [
|
$o = Renderer::replaceMacros($tpl, [
|
||||||
'$public_title' => DI::l10n()->t('Public'),
|
'$public_title' => DI::l10n()->t('Public'),
|
||||||
'$public_desc' => DI::l10n()->t('This content will be shown to all your followers and can be seen in the community pages and by anyone with its link.'),
|
'$public_desc' => DI::l10n()->t('This content will be shown to all your followers and can be seen in the community pages and by anyone with its link.'),
|
||||||
|
|
|
@ -155,7 +155,7 @@
|
||||||
acl.initialize();
|
acl.initialize();
|
||||||
|
|
||||||
let suggestionTemplate = function (item) {
|
let suggestionTemplate = function (item) {
|
||||||
return '<div><img src="' + item.micro + '" alt="" style="float: left; width: auto; height: 2.8em; margin-right: 0.5em;"> <strong>' + item.name + '</strong><br /><em>' + item.addr + '</em></div>';
|
return '<div><img src="' + item.micro + '" alt="" style="float: left; width: auto; height: 2.8em; margin-right: 0.5em;"><p style="margin-left: 3.3em;"><strong>' + item.name + '</strong><br /><em>' + item.addr + '</em></p></div>';
|
||||||
};
|
};
|
||||||
|
|
||||||
$acl_allow_input.tagsinput({
|
$acl_allow_input.tagsinput({
|
Loading…
Reference in New Issue
Block a user