Skip to content
Snippets Groups Projects
Commit 0a2879b2 authored by Elke Kreim's avatar Elke Kreim
Browse files

Add course fullname to form title

parent ac6d9fcf
No related branches found
No related tags found
No related merge requests found
...@@ -43,6 +43,7 @@ $PAGE->set_url('/local/hshexport/export.php', ['id' => $course->id]); ...@@ -43,6 +43,7 @@ $PAGE->set_url('/local/hshexport/export.php', ['id' => $course->id]);
require_login($course); require_login($course);
$PAGE->set_title($title); $PAGE->set_title($title);
$PAGE->set_heading($title);
$PAGE->set_context($context); $PAGE->set_context($context);
require_capability('local/hshexport:canexport', $context); require_capability('local/hshexport:canexport', $context);
...@@ -67,7 +68,7 @@ if ($mform->is_cancelled()) { ...@@ -67,7 +68,7 @@ if ($mform->is_cancelled()) {
} }
echo $OUTPUT->header(); echo $OUTPUT->header();
echo $OUTPUT->heading($title); echo $OUTPUT->heading(get_string('formtitle', 'local_hshexport', $course->fullname));
$mform->display(); $mform->display();
......
...@@ -31,6 +31,7 @@ $string['coursecode_help'] = 'Eine LV-Kennung muss eindeutig und einmalig sein, ...@@ -31,6 +31,7 @@ $string['coursecode_help'] = 'Eine LV-Kennung muss eindeutig und einmalig sein,
$string['coursecode_placeholder'] = 'Bitte hier LV Kennung eingeben'; $string['coursecode_placeholder'] = 'Bitte hier LV Kennung eingeben';
$string['csvdownload'] = 'CSV herunterladen'; $string['csvdownload'] = 'CSV herunterladen';
$string['evaluserexport_form_into'] = 'Nutzen Sie dieses Formular um eine CSV-Datei mit den Nutzern der ausgewählten Rollen für die Evaluation zu erzeugen.'; $string['evaluserexport_form_into'] = 'Nutzen Sie dieses Formular um eine CSV-Datei mit den Nutzern der ausgewählten Rollen für die Evaluation zu erzeugen.';
$string['formtitle'] = 'Export für Evaluation: {$a}';
$string['hshexport:canexport'] = 'Kann Nutzer für Evasys als csv exportieren'; $string['hshexport:canexport'] = 'Kann Nutzer für Evasys als csv exportieren';
$string['nav_course'] = 'Link in Kursnavigation'; $string['nav_course'] = 'Link in Kursnavigation';
$string['nav_participants'] = 'Link in Auswahlbutton der Teilnehmerliste'; $string['nav_participants'] = 'Link in Auswahlbutton der Teilnehmerliste';
......
...@@ -31,6 +31,7 @@ $string['coursecode_help'] = 'A course code must be unique and unambiguous, e.g. ...@@ -31,6 +31,7 @@ $string['coursecode_help'] = 'A course code must be unique and unambiguous, e.g.
$string['coursecode_placeholder'] = 'Please enter course code here'; $string['coursecode_placeholder'] = 'Please enter course code here';
$string['csvdownload'] = 'Download csv'; $string['csvdownload'] = 'Download csv';
$string['evaluserexport_form_into'] = 'Use this form to generate a CSV file with users of selected roles for evaluation purposes.'; $string['evaluserexport_form_into'] = 'Use this form to generate a CSV file with users of selected roles for evaluation purposes.';
$string['formtitle'] = 'Export for evaluation: {$a}';
$string['hshexport:canexport'] = 'Can export user csv for evasys'; $string['hshexport:canexport'] = 'Can export user csv for evasys';
$string['nav_course'] = 'Navigation node in course navigation'; $string['nav_course'] = 'Navigation node in course navigation';
$string['nav_participants'] = 'Navigation node in participants page jump menu'; $string['nav_participants'] = 'Navigation node in participants page jump menu';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment