diff --git a/classes/local/table/interaction_remaining_table.php b/classes/local/table/interaction_remaining_table.php index 2f10271c430745daf77b4f3553b244ecbe59a421..ba1b6816c7f936f5d78b55b1483d552892b125a6 100644 --- a/classes/local/table/interaction_remaining_table.php +++ b/classes/local/table/interaction_remaining_table.php @@ -194,4 +194,18 @@ class interaction_remaining_table extends interaction_table { return userdate($row->lastmodified, $dateformat); } + /** + * This function is not part of the public api. + */ + public function print_nothing_to_display() { + global $OUTPUT; + + // Render button to allow user to reset table preferences. + echo $this->render_reset_button(); + + $this->print_initials_bar(); + + echo $OUTPUT->box(get_string('noremainingcoursestodisplay', 'tool_lifecycle')); + } + } diff --git a/lang/de/tool_lifecycle.php b/lang/de/tool_lifecycle.php index b3f2bcaa98309e0cd3ccb509f88dadafcb4fa349..7a2b133686c8e7920f786c94d3be3cdc42d0a689 100644 --- a/lang/de/tool_lifecycle.php +++ b/lang/de/tool_lifecycle.php @@ -143,6 +143,7 @@ $string['nostepfound'] = 'Es konnte kein Schritt mit der gegeben Schrittid gefun $string['noprocessfound'] = 'Es konnte kein Prozess mit der gegebenen Prozessid gefunden werden!'; $string['nocoursestodisplay'] = 'Es gibt derzeit keine Kurse, die Ihre Aufmerksamkeit erfordern!'; +$string['noremainingcoursestodisplay'] = 'Es gibt derzeit keine verbleibenden Kurse!'; $string['course_backups_list_header'] = 'Kurssicherungen'; $string['backupcreated'] = 'Erstellt am'; diff --git a/lang/en/tool_lifecycle.php b/lang/en/tool_lifecycle.php index eca85b7debb42330693857b2999168f67311b5f2..933d2e949a3d9839287bb3688efae9e4be0e408e 100644 --- a/lang/en/tool_lifecycle.php +++ b/lang/en/tool_lifecycle.php @@ -148,6 +148,7 @@ $string['nostepfound'] = 'A step with the given stepid could not be found!'; $string['noprocessfound'] = 'A process with the given processid could not be found!'; $string['nocoursestodisplay'] = 'There are currently no courses which require your attention!'; +$string['noremainingcoursestodisplay'] = 'There are currently no remaining courses!'; $string['course_backups_list_header'] = 'Course backups'; $string['backupcreated'] = 'Created at';