mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
fix for MDL-9087 screwy page when user places table into online assignment. - merging changes from Moodle_18_stable
This commit is contained in:
parent
97f8f9c215
commit
f2bb50394f
@ -104,12 +104,14 @@ class assignment_online extends assignment_base {
|
||||
} else if ($this->isopen()){ //fix for #4206
|
||||
echo '<div style="text-align:center">'.get_string('emptysubmission', 'assignment').'</div>';
|
||||
}
|
||||
if ($editable) {
|
||||
print_single_button('view.php', array('id'=>$this->cm->id, 'edit'=>'1'),
|
||||
get_string('editmysubmission', 'assignment'));
|
||||
}
|
||||
}
|
||||
print_simple_box_end();
|
||||
if (!$editmode && $editable) {
|
||||
echo "<div style='text-align:center'>";
|
||||
print_single_button('view.php', array('id'=>$this->cm->id,'edit'=>'1'),
|
||||
get_string('editmysubmission', 'assignment'));
|
||||
echo "</div>";
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user