Merge branch 'MDL-60726-33' of git://github.com/zig-moodle/moodle into MOODLE_33_STABLE
This commit is contained in:
@@ -118,6 +118,7 @@ $string['completionsubmit'] = 'Student must submit to this activity to complete
|
||||
$string['conversionexception'] = 'Could not convert assignment. Exception was: {$a}.';
|
||||
$string['configshowrecentsubmissions'] = 'Everyone can see notifications of submissions in recent activity reports.';
|
||||
$string['confirmsubmission'] = 'Are you sure you want to submit your work for grading? You will not be able to make any more changes.';
|
||||
$string['confirmsubmissionheading'] = 'Confirm submission';
|
||||
$string['confirmbatchgradingoperation'] = 'Are you sure you want to {$a->operation} for {$a->count} students?';
|
||||
$string['couldnotconvertgrade'] = 'Could not convert assignment grade for user {$a}.';
|
||||
$string['couldnotconvertsubmission'] = 'Could not convert assignment submission for user {$a}.';
|
||||
|
||||
@@ -4775,7 +4775,11 @@ class assign {
|
||||
$data));
|
||||
}
|
||||
$o = '';
|
||||
$o .= $this->get_renderer()->header();
|
||||
$o .= $this->get_renderer()->render(new assign_header($this->get_instance(),
|
||||
$this->get_context(),
|
||||
$this->show_intro(),
|
||||
$this->get_course_module()->id,
|
||||
get_string('confirmsubmissionheading', 'assign')));
|
||||
$submitforgradingpage = new assign_submit_for_grading_page($notifications,
|
||||
$this->get_course_module()->id,
|
||||
$mform);
|
||||
|
||||
@@ -178,8 +178,7 @@ class mod_assign_renderer extends plugin_renderer_base {
|
||||
$o = '';
|
||||
|
||||
$o .= $this->output->container_start('submitforgrading');
|
||||
$o .= $this->output->heading(get_string('submitassignment', 'assign'), 3);
|
||||
$o .= $this->output->spacer(array('height'=>30));
|
||||
$o .= $this->output->heading(get_string('confirmsubmissionheading', 'assign'), 3);
|
||||
|
||||
$cancelurl = new moodle_url('/mod/assign/view.php', array('id' => $page->coursemoduleid));
|
||||
if (count($page->notifications)) {
|
||||
@@ -194,9 +193,7 @@ class mod_assign_renderer extends plugin_renderer_base {
|
||||
$o .= $this->output->continue_button($cancelurl);
|
||||
} else {
|
||||
// All submission plugins ready - show the confirmation form.
|
||||
$o .= $this->output->box_start('generalbox submitconfirm');
|
||||
$o .= $this->moodleform($page->confirmform);
|
||||
$o .= $this->output->box_end();
|
||||
}
|
||||
$o .= $this->output->container_end();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user