diff --git a/admin/tool/lp/tests/behat/plan_crud.feature b/admin/tool/lp/tests/behat/plan_crud.feature index 24c03893c2a..c5d579b9d2d 100644 --- a/admin/tool/lp/tests/behat/plan_crud.feature +++ b/admin/tool/lp/tests/behat/plan_crud.feature @@ -25,7 +25,7 @@ Feature: Manage plearning plan Given the following lp "templates" exist: | shortname | description | | Science template | science template description | - And I follow "Home" + And I am on homepage And I navigate to "Competencies > Learning plan templates" in site administration And I click on ".template-userplans" "css_element" in the "Science template" "table_row" And I open the autocomplete suggestions list @@ -50,7 +50,7 @@ Feature: Manage plearning plan | user | cohort | | student-plan1 | COHORTPLAN | | student-plan2 | COHORTPLAN | - And I follow "Home" + And I am on homepage And I navigate to "Competencies > Learning plan templates" in site administration And I click on ".template-cohorts" "css_element" in the "Science template cohort" "table_row" And I set the field "Select cohorts to sync" to "cohort plan" diff --git a/admin/tool/policy/styles.css b/admin/tool/policy/styles.css index da4ef21f959..f590e731eb1 100644 --- a/admin/tool/policy/styles.css +++ b/admin/tool/policy/styles.css @@ -9,6 +9,10 @@ display: none; z-index: 9999999; } +.eupopup-container .eupopup-body a { + color: #fff; + text-decoration: underline; +} .behat-site .eupopup-container-bottom { position: relative; diff --git a/calendar/tests/behat/minicalendar.feature b/calendar/tests/behat/minicalendar.feature index d71582d60d8..5b8784a6842 100644 --- a/calendar/tests/behat/minicalendar.feature +++ b/calendar/tests/behat/minicalendar.feature @@ -30,7 +30,7 @@ Feature: Open calendar popup When I reload the page Then I should see "Event 1:1" And I should see "Event 1:2" - And I follow "Home" + And I am on homepage And I should see "Event 1:1" And I should see "Event 1:2" @@ -58,5 +58,5 @@ Feature: Open calendar popup | Type of event | site | | Event title | Today's event | Then I should see "Today's event" - And I follow "Home" + And I am on homepage And I should see "Today's event" diff --git a/lang/en/moodle.php b/lang/en/moodle.php index f5af44be563..56205be2b7e 100644 --- a/lang/en/moodle.php +++ b/lang/en/moodle.php @@ -1623,6 +1623,7 @@ $string['potentialadmins'] = 'Potential admins'; $string['potentialcreators'] = 'Potential course creators'; $string['potentialstudents'] = 'Potential students'; $string['potentialteachers'] = 'Potential teachers'; +$string['poweredbymoodle'] = 'Powered by Moodle'; $string['preferences'] = 'Preferences'; $string['preferredlanguage'] = 'Preferred language'; $string['preferredtheme'] = 'Preferred theme'; diff --git a/lib/classes/output/icon_system_fontawesome.php b/lib/classes/output/icon_system_fontawesome.php index 301414a4f16..76cb315c85b 100644 --- a/lib/classes/output/icon_system_fontawesome.php +++ b/lib/classes/output/icon_system_fontawesome.php @@ -53,6 +53,7 @@ class icon_system_fontawesome extends icon_system_font { public function get_core_icon_map() { return [ 'core:docs' => 'fa-info-circle', + 'core:book' => 'fa-book', 'core:help' => 'fa-question-circle text-info', 'core:req' => 'fa-exclamation-circle text-danger', 'core:a/add_file' => 'fa-file-o', diff --git a/lib/editor/tinymce/tests/behat/edit_available_icons.feature b/lib/editor/tinymce/tests/behat/edit_available_icons.feature index 5bcc3f6e41c..cc0e528e64a 100644 --- a/lib/editor/tinymce/tests/behat/edit_available_icons.feature +++ b/lib/editor/tinymce/tests/behat/edit_available_icons.feature @@ -13,7 +13,7 @@ Feature: Add or remove items from the TinyMCE editor toolbar And I follow "Editor preferences" And I set the field "Text editor" to "TinyMCE HTML editor" And I press "Save changes" - And I follow "Home" + And I am on homepage Scenario: Remove icons When the following config values are set as admin: diff --git a/lib/outputrenderers.php b/lib/outputrenderers.php index 58463fa52af..000cbfbefd6 100644 --- a/lib/outputrenderers.php +++ b/lib/outputrenderers.php @@ -813,8 +813,7 @@ class core_renderer extends renderer_base { } /** - * The standard tags (typically performance information and validation links, - * if we are in developer debug mode) that should be output in the footer area + * content that should be output in the footer area * of the page. Designed to be called in theme layout.php files. * * @return string HTML fragment. @@ -844,10 +843,6 @@ class core_renderer extends renderer_base { ); } - // This function is normally called from a layout.php file in {@link core_renderer::header()} - // but some of the content won't be known until later, so we return a placeholder - // for now. This will be replaced with the real content in {@link core_renderer::footer()}. - $output .= $this->unique_performance_info_token; if ($this->page->devicetypeinuse == 'legacy') { // The legacy theme is in use print the notification $output .= html_writer::tag('div', get_string('legacythemeinuse'), array('class'=>'legacythemeinuse')); @@ -856,6 +851,23 @@ class core_renderer extends renderer_base { // Get links to switch device types (only shown for users not on a default device) $output .= $this->theme_switch_links(); + return $output; + } + + /** + * Performance information and validation links for debugging. + * + * @return string HTML fragment. + */ + public function debug_footer_html() { + global $CFG; + $output = ''; + + // This function is normally called from a layout.php file + // but some of the content won't be known until later, so we return a placeholder + // for now. This will be replaced with the real content in the footer. + $output .= $this->unique_performance_info_token; + if (!empty($CFG->debugpageinfo)) { $output .= '