MDL-40093 mod/assign: Remove count of drafts in offline assignment's grading summary screen
This commit is contained in:
committed by
Marina Glancy
parent
ed79029f0e
commit
622425d2fb
@@ -251,11 +251,11 @@ class mod_assign_renderer extends plugin_renderer_base {
|
||||
$summary->participantcount);
|
||||
}
|
||||
|
||||
// drafts
|
||||
if ($summary->submissiondraftsenabled) {
|
||||
// Drafts count and dont show drafts count when using offline assignment.
|
||||
if ($summary->submissiondraftsenabled && $summary->submissionsenabled) {
|
||||
$this->add_table_row_tuple($t, get_string('numberofdraftsubmissions', 'assign'),
|
||||
$summary->submissiondraftscount);
|
||||
}
|
||||
}
|
||||
|
||||
// submitted for grading
|
||||
if ($summary->submissionsenabled) {
|
||||
|
||||
Reference in New Issue
Block a user