From f865998a60cb85337e12ec6302d7f20ee3a79b19 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Tue, 12 Nov 2024 11:51:21 +0000 Subject: [PATCH] MDL-75610 theme: Allow the activity title in Boost theme's secure layout --- .../seb/tests/behat/secure_layout_activity_heading.feature | 1 + theme/boost/config.php | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mod/quiz/accessrule/seb/tests/behat/secure_layout_activity_heading.feature b/mod/quiz/accessrule/seb/tests/behat/secure_layout_activity_heading.feature index 9c1f1b57e7ed4..c4e881d1c184d 100644 --- a/mod/quiz/accessrule/seb/tests/behat/secure_layout_activity_heading.feature +++ b/mod/quiz/accessrule/seb/tests/behat/secure_layout_activity_heading.feature @@ -35,4 +35,5 @@ Feature: View the activity header when Safe Exam Browser is required Scenario: Quiz description is displayed when Safe Exam Browser is required When I am on the "Test quiz name" "quiz activity" page logged in as student1 Then I should see "Launch Safe Exam Browser" + And "Test quiz name" "heading" should exist And I should see "Test quiz description" diff --git a/theme/boost/config.php b/theme/boost/config.php index 3ee7f1d1f3da7..4b1451d0c00cf 100644 --- a/theme/boost/config.php +++ b/theme/boost/config.php @@ -164,7 +164,12 @@ 'secure' => array( 'file' => 'secure.php', 'regions' => array('side-pre'), - 'defaultregion' => 'side-pre' + 'defaultregion' => 'side-pre', + 'options' => [ + 'activityheader' => [ + 'notitle' => false, + ], + ], ) ];