Skip to content
Snippets Groups Projects
Unverified Commit 834951dc authored by Laur0r's avatar Laur0r Committed by GitHub
Browse files

Merge pull request #130 from aaronkossler/fix/remaing-courses-string

fixed string for empty remaining courses table.
parents 4023e375 d6b83978
No related branches found
No related tags found
No related merge requests found
...@@ -194,4 +194,18 @@ class interaction_remaining_table extends interaction_table { ...@@ -194,4 +194,18 @@ class interaction_remaining_table extends interaction_table {
return userdate($row->lastmodified, $dateformat); 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'));
}
} }
...@@ -143,6 +143,7 @@ $string['nostepfound'] = 'Es konnte kein Schritt mit der gegeben Schrittid gefun ...@@ -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['noprocessfound'] = 'Es konnte kein Prozess mit der gegebenen Prozessid gefunden werden!';
$string['nocoursestodisplay'] = 'Es gibt derzeit keine Kurse, die Ihre Aufmerksamkeit erfordern!'; $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['course_backups_list_header'] = 'Kurssicherungen';
$string['backupcreated'] = 'Erstellt am'; $string['backupcreated'] = 'Erstellt am';
......
...@@ -148,6 +148,7 @@ $string['nostepfound'] = 'A step with the given stepid could not be found!'; ...@@ -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['noprocessfound'] = 'A process with the given processid could not be found!';
$string['nocoursestodisplay'] = 'There are currently no courses which require your attention!'; $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['course_backups_list_header'] = 'Course backups';
$string['backupcreated'] = 'Created at'; $string['backupcreated'] = 'Created at';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment