diff --git a/components/com_config/src/View/Modules/HtmlView.php b/components/com_config/src/View/Modules/HtmlView.php index a23c0d325e9da..7ad8464fdc5d3 100644 --- a/components/com_config/src/View/Modules/HtmlView.php +++ b/components/com_config/src/View/Modules/HtmlView.php @@ -103,6 +103,8 @@ public function display($tpl = null) protected function _prepareDocument() { // There is no menu item for this so we have to use the title from the component - $this->setDocumentTitle(Text::_('COM_CONFIG_MODULES_SETTINGS_TITLE')); + $this->setDocumentTitle( + Text::_('COM_CONFIG_MODULES_SETTINGS_TITLE') . ': ' . $this->item['title'] + ); } } diff --git a/components/com_config/tmpl/modules/default.php b/components/com_config/tmpl/modules/default.php index c9be9c837d35e..fa374a0daff03 100644 --- a/components/com_config/tmpl/modules/default.php +++ b/components/com_config/tmpl/modules/default.php @@ -42,12 +42,9 @@
- + item['title']; ?>
- - item['title']; ?> -    item['module']; ?>
diff --git a/tests/System/integration/site/components/com_config/Modules.cy.js b/tests/System/integration/site/components/com_config/Modules.cy.js index 65dd6da93c1f7..53d7e1d94530b 100644 --- a/tests/System/integration/site/components/com_config/Modules.cy.js +++ b/tests/System/integration/site/components/com_config/Modules.cy.js @@ -7,7 +7,7 @@ describe('Test in frontend that the config modules view', () => { cy.get('nav.mod-breadcrumbs__wrapper li.mod-breadcrumbs__divider').should('not.exist'); cy.get('nav.mod-breadcrumbs__wrapper a.jmodedit').click(); - cy.title().should('equal', 'Module Settings'); + cy.title().should('contain', 'Module Settings'); cy.get('#options button.accordion-button').contains('Options').click(); cy.get('#jform_params_showHere0').click(); cy.get('#modules-form button[data-submit-task="modules.apply"]').click();