Merge branch 'MDL-80259-main' of https://github.com/roland04/moodle

This commit is contained in:
Sara Arjona 2024-01-24 09:16:12 +01:00
commit 8b36abdb9d
No known key found for this signature in database
93 changed files with 218 additions and 209 deletions

View file

@ -80,7 +80,7 @@
{{/showcoursecategory}}
{{^visible}}
<div class="d-flex flex-wrap">
<span class="badge badge-info">{{#str}} hiddenfromstudents {{/str}}</span>
<span class="badge bg-info text-white">{{#str}} hiddenfromstudents {{/str}}</span>
</div>
{{/visible}}
{{#hasprogress}}

View file

@ -82,7 +82,7 @@
{{/coursecategory}}
{{^visible}}
<div class="d-flex flex-wrap">
<span class="badge badge-info">{{#str}} hiddenfromstudents {{/str}}</span>
<span class="badge bg-info text-white">{{#str}} hiddenfromstudents {{/str}}</span>
</div>
{{/visible}}
<div class="summary">

View file

@ -61,7 +61,7 @@ class block_site_main_menu extends block_list {
$controlmenuclass = $format->get_output_classname('content\\cm\\controlmenu');
$badgeattributes = [
'class' => 'badge badge-pill badge-warning mt-2',
'class' => 'badge rounded-pill bg-warning text-dark mt-2',
'data-region' => 'visibility'
];

View file

@ -62,7 +62,7 @@ class block_social_activities extends block_list {
$controlmenuclass = $format->get_output_classname('content\\cm\\controlmenu');
$badgeattributes = [
'class' => 'badge badge-pill badge-warning mt-2',
'class' => 'badge rounded-pill bg-warning text-dark mt-2',
'data-region' => 'visibility'
];

View file

@ -67,7 +67,7 @@
<div class="event-name-container flex-grow-1 line-height-3 nowrap text-truncate">
<div class="d-flex">
<h6 class="event-name mb-0 pb-1 text-truncate">
{{#overdue}}<span class="badge badge-pill badge-danger ml-1 float-right">{{#str}} overdue, block_timeline {{/str}}</span>{{/overdue}}
{{#overdue}}<span class="badge rounded-pill bg-danger text-white ml-1 float-right">{{#str}} overdue, block_timeline {{/str}}</span>{{/overdue}}
<a href="{{url}}"
title="{{name}}"
aria-label='{{#cleanstr}} ariaeventlistitem, block_timeline, { "name": {{#quote}}{{{activityname}}}{{/quote}}, "course": {{#quote}}{{{course.fullnamedisplay}}}{{/quote}}, "date": "{{#userdate}} {{timesort}}, {{#str}} strftimedatetime, core_langconfig {{/str}} {{/userdate}}" } {{/cleanstr}}'>
@ -93,7 +93,7 @@
title="{{action.name}}">
{{{action.name}}}
{{#action.showitemcount}}
<span class="badge badge-secondary">{{action.itemcount}}</span>
<span class="badge bg-secondary text-dark">{{action.itemcount}}</span>
{{/action.showitemcount}}
</a>
</h6>