~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/project.html

Project view now correctly shows the number of submissions, versus the
total number of expected submissions (ie. the number of assigned objects)

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
    <h1>${project.name} for ${project.project_set.offering.subject.name}</h1>
8
8
    <div id="ivle_padding">
9
9
      <p>${project.synopsis}</p>
10
 
      <p>Submissions: ${len(submissions)}/${project.assesseds.count()}</p>
 
10
      <p>Submissions: ${len(submissions)}/${len(assigned)}</p>
11
11
      <h3 py:if="len(submissions) > 0">Latest Submissions</h3>
12
12
      <py:for each="submission in submissions">
13
13
        <p>Submitted ${format_datetime_short(submission.date_submitted)} on behalf of <em>${submission.assessed.principal.display_name}</em> by <em>${submission.submitter.display_name}</em></p>