Browse Source

Make it clear the import requires a courseshortname

MOODLE_36_STABLE
Dan Marsden 6 years ago
parent
commit
612c8cc4cd
  1. 2
      classes/import/sessions.php
  2. 1
      lang/en/attendance.php

2
classes/import/sessions.php

@ -92,7 +92,7 @@ class sessions {
*/ */
public static function list_required_headers() { public static function list_required_headers() {
return array( return array(
get_string('course', 'attendance'), get_string('courseshortname', 'attendance'),
get_string('groups', 'attendance'), get_string('groups', 'attendance'),
get_string('sessiondate', 'attendance'), get_string('sessiondate', 'attendance'),
get_string('from', 'attendance'), get_string('from', 'attendance'),

1
lang/en/attendance.php

@ -106,6 +106,7 @@ $string['confirmdeleteuser'] = 'Are you sure you want to delete user \'{$a->full
$string['copyfrom'] = 'Copy attendance data from'; $string['copyfrom'] = 'Copy attendance data from';
$string['countofselected'] = 'Count of selected'; $string['countofselected'] = 'Count of selected';
$string['course'] = 'Course'; $string['course'] = 'Course';
$string['courseshortname'] = 'Course shortname';
$string['coursesummary'] = 'Course summary report'; $string['coursesummary'] = 'Course summary report';
$string['createmultiplesessions'] = 'Create multiple sessions'; $string['createmultiplesessions'] = 'Create multiple sessions';
$string['createmultiplesessions_help'] = 'This function allows you to create multiple sessions in one simple step. $string['createmultiplesessions_help'] = 'This function allows you to create multiple sessions in one simple step.

Loading…
Cancel
Save