Skip to content

Commit

Permalink
Upgrade: Update Bootstrap classes for Moodle 4.4.
Browse files Browse the repository at this point in the history
  • Loading branch information
abias committed Aug 23, 2024
1 parent a8a67a7 commit 5234296
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changes

### Unreleased

* 2024-08-20 - Upgrade: Update Bootstrap classes for Moodle 4.4.
* 2024-08-20 - Prepare compatibility for Moodle 4.4.

### v4.3-r3
Expand Down
4 changes: 2 additions & 2 deletions classes/profilecohort.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,10 @@ private function output_members_entry($cohortname, $cohortmembers, $lastcohortid
$out .= format_string($cohortname);
if ($cohortmembers) {
$out .= html_writer::tag('span', get_string('countusers', 'local_profilecohort', count($cohortmembers)),
['class' => 'badge badge-pill badge-primary ml-2']);
['class' => 'badge bg-primary text-light ml-2']);
} else {
$out .= html_writer::tag('span', get_string('countnousers', 'local_profilecohort'),
['class' => 'badge badge-pill badge-secondary ml-2']);
['class' => 'badge bg-secondary text-dark ml-2']);
}
$out .= html_writer::end_tag('button');
$out .= html_writer::end_tag('h2');
Expand Down

0 comments on commit 5234296

Please sign in to comment.