~ubuntu-branches/ubuntu/trusty/moodle/trusty-proposed

« back to all changes in this revision

Viewing changes to mod/assign/renderer.php

  • Committer: Package Import Robot
  • Author(s): Thijs Kinkhorst
  • Date: 2013-09-09 15:22:35 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20130909152235-d9njbvgugzm380an
Tags: 2.5.2-1
* New upstream version: 2.5.2.
  - Incorporates S3 security patch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
252
252
                                       $summary->participantcount);
253
253
        }
254
254
 
255
 
        // Drafts.
256
 
        if ($summary->submissiondraftsenabled) {
 
255
        // Drafts count and dont show drafts count when using offline assignment.
 
256
        if ($summary->submissiondraftsenabled && $summary->submissionsenabled) {
257
257
            $this->add_table_row_tuple($t, get_string('numberofdraftsubmissions', 'assign'),
258
258
                                       $summary->submissiondraftscount);
259
259
        }