This commit is contained in:
Jun Pataleta 2022-05-18 21:47:54 +08:00
commit 75e1514666
6 changed files with 6 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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;

View File

@ -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';
}
/**

View File

@ -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';
}
/**

View File

@ -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