File tree 2 files changed +8
-4
lines changed
2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ Version 402.2.4 - In development
7
7
2 . Fix 'Unable to update defaultimageresizemethod setting' - #211 .
8
8
3 . Use section anchors in links when editing.
9
9
4 . Add badges to grid - #215 .
10
+ 5 . Adjust section titles in grid and move 'title' attribute to cover whole grid box.
10
11
11
12
Version 402.2.3 - 08/04/2024
12
13
----------------------------
Original file line number Diff line number Diff line change 73
73
{ {/sectionbreakheading} }
74
74
<div class =" thegrid d-flex flex-wrap grid-justify-{ { gridjustification} } " >
75
75
{ {/sectionbreak} }
76
- <div id =" section-{ { number} } " class =" grid-section card{ { #iscurrent} } currentgridsection{ { /iscurrent} } " >
76
+ <div id =" section-{ { number} } " class =" grid-section card{ { #iscurrent} } currentgridsection{ { /iscurrent} } " title = " { { sectionname } } " >
77
77
{ {^popup} }
78
78
{ {#hasbadge} }<div class =" grid-section-inner" >{ {/hasbadge} }
79
79
{ {^hasbadge} }<a class =" grid-section-inner" href =" { { sectionurl} } " >{ {/hasbadge} }
80
80
{ {/popup} }
81
81
{ {#popup} }
82
82
<div class =" grid-modal grid-section-inner d-flex flex-column h-100 justify-content-between" data-toggle =" modal" data-target =" #gridPopup" data-section =" { { number} } " tabindex =" 0" >
83
83
{ {/popup} }
84
- <div class =" card-header text-truncate h-100" title =" { { sectionname} } " >{ {{sectionname} }}{ {#hasbadge} }
84
+ <div class =" card-header text-truncate h-100" >
85
+ <h3 class =" h4" >{ {{sectionname} }}</h3 >
86
+ { {#hasbadge} }
85
87
<div data-region =" sectionbadges" class =" sectionbadges d-flex" >
86
88
{ {$ core_courseformat/local/content/section /badges } }
87
89
{ {> core_courseformat/local/content/section /badges } }
88
90
{ {/ core_courseformat/local/content/section /badges } }
89
91
</div >
90
- { {/hasbadge} }</div >
92
+ { {/hasbadge} }
93
+ </div >
91
94
{ {#imageuri} }
92
95
<div class =" grid-image card-img-bottom text-center" >
93
96
<img src =" { { imageuri} } " alt =" { { imagealttext} } " loading =" lazy" >
121
124
<div class =" modal-dialog modal-dialog-scrollable" >
122
125
<div class =" modal-content" >
123
126
<div class =" modal-header" >
124
- <h5 class =" modal-title" id =" gridPopupLabel" >Section X</h5 >
127
+ <h2 class =" modal-title h4 " id =" gridPopupLabel" >Section X</h2 >
125
128
<button type =" button" class =" close" data-dismiss =" modal" aria-label =" { { #str} } close, form{ { /str} } " >
126
129
<span class =" fa fa-times" aria-hidden =" true" ></span >
127
130
</button >
You can’t perform that action at this time.
0 commit comments