Skip to content

Commit

Permalink
hide item grading for shared items for teachers
Browse files Browse the repository at this point in the history
  • Loading branch information
fjungwirth committed Jul 4, 2016
1 parent ccf240f commit ef57fde
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/item_edit_form.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ function definition() {

$mform->addElement('filemanager', 'file', get_string('file', 'block_exaport'), null, array('subdirs' => 0, 'maxfiles' => 1));

/*
fjungwirth: hide grading at this stage (meeting LS 4.7.16)
if ($this->_customdata['gradingpermission']) {
$mform->addElement('header', 'itemgrading', get_string("itemgrading", "block_exaport"));
$itemgrade = $this->_customdata['itemgrade'];
Expand All @@ -61,6 +64,7 @@ function definition() {
$slider = '<div id="slider"></div>';
$mform->addElement('html',$slider);
}
*/

$this->add_action_buttons(false, get_string('add'));

Expand Down

0 comments on commit ef57fde

Please sign in to comment.