From 461e55719b5e9da93ce13dbe4b7922f99faf6dd3 Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Thu, 18 Apr 2019 11:18:37 +0100 Subject: [PATCH 1/2] [4.0] Remove module description popover When you go to select a NEW module you have a list of all the modules with a very short 90 character truncated description. If you hover over that description you get a popover with a short 200 character truncated description. This popover is not accessible - I doubt even most sighted users will know that it even exists as there is no visual indicator that it exists either. The original reason for the 90 character truncation was back in the day that this was a modal and there was limited space. That is no longer true but we do need to have some form of truncation as some 3pd write essays for the description ;) This PR removes the popover and changes the displayed description to the 200 character version --- .../components/com_modules/tmpl/select/default.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/administrator/components/com_modules/tmpl/select/default.php b/administrator/components/com_modules/tmpl/select/default.php index f131de960d817..a4be15f11d461 100644 --- a/administrator/components/com_modules/tmpl/select/default.php +++ b/administrator/components/com_modules/tmpl/select/default.php @@ -14,7 +14,6 @@ use Joomla\CMS\Language\Text; use Joomla\CMS\Router\Route; -HTMLHelper::_('bootstrap.popover'); $document = Factory::getDocument(); ?> @@ -25,17 +24,15 @@ extension_id; ?> escape($item->name); ?> escape(strip_tags($item->desc)), 200); ?> - escape(strip_tags($item->desc)), 90); ?> direction != 'rtl') : ?>
  • - - - + +
  • - +
  • From e17c18a6d5c97fad7bc89873c28a42f661bc341a Mon Sep 17 00:00:00 2001 From: Brian Teeman Date: Thu, 18 Apr 2019 13:44:37 +0100 Subject: [PATCH 2/2] keep @quy happy ;) --- .../components/com_modules/tmpl/select/default.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/administrator/components/com_modules/tmpl/select/default.php b/administrator/components/com_modules/tmpl/select/default.php index a4be15f11d461..5157566c6fe53 100644 --- a/administrator/components/com_modules/tmpl/select/default.php +++ b/administrator/components/com_modules/tmpl/select/default.php @@ -21,9 +21,9 @@