From a844fd8f58fbdc5ef95c8db4688fd035ba0c28c5 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Thu, 3 Sep 2020 09:58:07 -0400 Subject: [PATCH] Move ACL full selector template to subfolder - Fix display overflow in contact complete suggestion box --- src/Core/ACL.php | 2 +- view/templates/{acl_selector.tpl => acl/full_selector.tpl} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename view/templates/{acl_selector.tpl => acl/full_selector.tpl} (98%) diff --git a/src/Core/ACL.php b/src/Core/ACL.php index f35889061d..504e5d847d 100644 --- a/src/Core/ACL.php +++ b/src/Core/ACL.php @@ -303,7 +303,7 @@ class ACL 'emailcc' => $form_prefix ? $form_prefix . '[emailcc]' : 'emailcc', ]; - $tpl = Renderer::getMarkupTemplate('acl_selector.tpl'); + $tpl = Renderer::getMarkupTemplate('acl/full_selector.tpl'); $o = Renderer::replaceMacros($tpl, [ '$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.'), diff --git a/view/templates/acl_selector.tpl b/view/templates/acl/full_selector.tpl similarity index 98% rename from view/templates/acl_selector.tpl rename to view/templates/acl/full_selector.tpl index f1943cf3f6..ada05fbd41 100644 --- a/view/templates/acl_selector.tpl +++ b/view/templates/acl/full_selector.tpl @@ -155,7 +155,7 @@ acl.initialize(); let suggestionTemplate = function (item) { - return '
' + item.name + '
' + item.addr + '
'; + return '

' + item.name + '
' + item.addr + '

'; }; $acl_allow_input.tagsinput({