From 14307ee953d82d8347d2eef72611a8cfd878f613 Mon Sep 17 00:00:00 2001
From: Kathrin Osswald <kathrin.osswald@uni-ulm.de>
Date: Wed, 29 Jan 2020 08:32:09 +0100
Subject: [PATCH] Adjusted columns2.mustache template due to upstream changes
 in theme Boost.

---
 CHANGES.md                           | 1 +
 templates/columns2.mustache          | 6 +++---
 templates/columns2.mustache.original | 6 +++---
 3 files changed, 7 insertions(+), 6 deletions(-)

diff --git a/CHANGES.md b/CHANGES.md
index 069f2d2..42b58dc 100644
--- a/CHANGES.md
+++ b/CHANGES.md
@@ -6,6 +6,7 @@ Changes
 
 ### Unreleased
 
+* 2020-01-29 - Adjusted columns2.mustache template due to upstream changes in theme Boost.
 * 2019-12-20 - Added Behat tests.
                PLEASE NOTE: For all scenarios to pass, the Moodle version 3.7.3+ (Build: 20191212) is needed.
 * 2019-12-17 - Fixed bug for the selection of block regions when 2 block columns in footer are enabled.
diff --git a/templates/columns2.mustache b/templates/columns2.mustache
index fff505a..235f549 100644
--- a/templates/columns2.mustache
+++ b/templates/columns2.mustache
@@ -63,16 +63,16 @@
 
 <body {{{ bodyattributes }}}>
 
-<div id="page-wrapper">
+<div id="page-wrapper" class="d-print-block">
 
     {{{ output.standard_top_of_body_html }}}
 
     {{> theme_boost_campus/navbar }}
 
-    <div id="page" class="container-fluid">
+    <div id="page" class="container-fluid d-print-block">
         {{{ output.full_header }}}
 
-        <div id="page-content" class="row pb-3">
+        <div id="page-content" class="row pb-3 d-print-block">
             <div id="region-main-box" class="col-12">
                 {{#node}}
                     {{> theme_boost_campus/settings_link_page }}
diff --git a/templates/columns2.mustache.original b/templates/columns2.mustache.original
index 9953d8e..7fcbfe4 100644
--- a/templates/columns2.mustache.original
+++ b/templates/columns2.mustache.original
@@ -52,16 +52,16 @@
 
 <body {{{ bodyattributes }}}>
 
-<div id="page-wrapper">
+<div id="page-wrapper" class="d-print-block">
 
     {{{ output.standard_top_of_body_html }}}
 
     {{> theme_boost/navbar }}
 
-    <div id="page" class="container-fluid">
+    <div id="page" class="container-fluid d-print-block">
         {{{ output.full_header }}}
 
-        <div id="page-content" class="row pb-3">
+        <div id="page-content" class="row pb-3 d-print-block">
             <div id="region-main-box" class="col-12">
                 {{#hasregionmainsettingsmenu}}
                 <div id="region-main-settings-menu" class="d-print-none {{#hasblocks}}has-blocks{{/hasblocks}}">
-- 
GitLab