mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 04:30:15 +01:00
Merge branch 'MDL-74377' of https://github.com/roland04/moodle
This commit is contained in:
commit
75e1514666
2
reportbuilder/amd/build/schedules.min.js
vendored
2
reportbuilder/amd/build/schedules.min.js
vendored
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user