Merge branch 'MDL-74377-400' of https://github.com/roland04/moodle into MOODLE_400_STABLE
This commit is contained in:
+1
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -99,7 +99,7 @@ export const init = reportId => {
|
||||
toggleSchedule(reportId, scheduleToggle.dataset.id, scheduleStateToggle)
|
||||
.then(() => {
|
||||
const tableRow = scheduleToggle.closest('tr');
|
||||
tableRow.classList.toggle('dimmed_text');
|
||||
tableRow.classList.toggle('text-muted');
|
||||
|
||||
scheduleToggle.dataset.state = scheduleStateToggle;
|
||||
|
||||
|
||||
@@ -102,7 +102,7 @@ class report_schedules extends system_report {
|
||||
* @return string
|
||||
*/
|
||||
public function get_row_class(stdClass $row): string {
|
||||
return $row->enabled ? '' : 'dimmed_text';
|
||||
return $row->enabled ? '' : 'text-muted';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -110,7 +110,7 @@ class reports_list extends system_report {
|
||||
* @return string
|
||||
*/
|
||||
public function get_row_class(stdClass $row): string {
|
||||
return $this->report_source_valid($row->source) ? '' : 'dimmed_text';
|
||||
return $this->report_source_valid($row->source) ? '' : 'text-muted';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -93,7 +93,7 @@ Feature: Manage custom report schedules
|
||||
And I am on the "My report" "reportbuilder > Editor" page logged in as "admin"
|
||||
And I click on the "Schedules" dynamic tab
|
||||
When I click on "Disable schedule" "field" in the "My schedule" "table_row"
|
||||
Then the "class" attribute of "My schedule" "table_row" should contain "dimmed_text"
|
||||
Then the "class" attribute of "My schedule" "table_row" should contain "text-muted"
|
||||
And I click on "Enable schedule" "field" in the "My schedule" "table_row"
|
||||
|
||||
Scenario: Edit report schedule
|
||||
|
||||
Reference in New Issue
Block a user