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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2009-05-26 04:06:33 UTC
  • Revision ID: grantw@unimelb.edu.au-20090526040633-m1a2sya7ig3o9arl
Move ivle.conf.ivle_version to ivle.__version__.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  <body>
7
7
    <h1>${project.name} for ${project.project_set.offering.subject.name}</h1>
8
8
    <div id="ivle_padding">
9
 
      <div class="contextactions">
10
 
        <a py:if="'edit' in permissions"
11
 
           class="editaction"
12
 
           href="${req.publisher.generate(project, ProjectEdit)}">
13
 
           Change details
14
 
        </a>
15
 
        <a py:if="'edit' in permissions"
16
 
           class="deleteaction"
17
 
           href="${req.publisher.generate(project, ProjectDelete)}">
18
 
           Delete project
19
 
        </a>
20
 
      </div>
21
 
      <a py:if="project.url not in (None, '')" href="${project.url}">${project.url}</a>
22
 
      <p>Deadline: ${format_datetime(project.deadline)}</p>
23
9
      <p>${project.synopsis}</p>
24
10
      <p>Submissions: ${project.latest_submissions.count()}/${project.project_set.assigned.count()}</p>
25
11
 
26
12
      <h2>Latest submissions</h2>
27
 
      <div py:if="project.latest_submissions.count() == 0">
28
 
        There are no submissions.
29
 
      </div>
30
 
      <table id="project_submissions" class="pretty_table" summary="Latest Submissions"
 
13
      <table id="project_submissions" class="project_list" summary="Latest Submissions"
31
14
             py:if="project.latest_submissions.count() > 0">
32
15
        <thead>
33
16
          <tr>
53
36
      </table>
54
37
 
55
38
      <h2>Assigned submitters</h2>
56
 
      <div py:if="project.project_set.assigned.count() == 0"
57
 
           py:choose="project.project_set.is_group">
58
 
        <py:when test="True">There are no groups assigned to submit this project. Do you want to <a href="${req.publisher.generate(project.project_set, GroupsView)}">create some</a>?</py:when>
59
 
        <py:otherwise>There are no students assigned to submit this project. Do you want to <a href="${req.publisher.generate(project.project_set.offering, EnrolView)}">enrol some</a>?</py:otherwise>
60
 
      </div>
61
 
      <table id="project_assigneds" class="pretty_table"
62
 
             py:if="project.project_set.assigned.count() > 0">
 
39
      <table id="project_assigneds" class="project_list">
63
40
        <thead><tr><th>Assigned</th></tr></thead>
64
41
        <tbody>
65
42
        <py:for each="assignee in project.project_set.assigned">