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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2010-02-15 05:37:50 UTC
  • Revision ID: grantw@unimelb.edu.au-20100215053750-hihmegnp8e7dshc2
Ignore test coverage files.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
           href="${req.publisher.generate(context, OfferingEdit)}">
13
13
           Change details
14
14
        </a>
15
 
        <a py:if="req.user.admin"
16
 
           class="subjectaction"
17
 
           href="${req.publisher.generate(context, OfferingCloneWorksheets)}">
18
 
           Clone worksheets
19
 
        </a>
20
15
        <a py:if="'enrol' in permissions"
21
16
           class="groupaction"
22
 
           href="${req.publisher.generate(context, EnrolmentsView)}">
23
 
          Administer enrolments
 
17
           href="${req.publisher.generate(context, None, ('+enrolments', '+new'))}">
 
18
          Enrol users
24
19
        </a>
25
20
      </div>
26
21
 
70
65
                </py:if>
71
66
                <br />
72
67
                ${project.synopsis}
73
 
                <div class="horizontalactions" py:if="'view_project_submissions' in permissions">
 
68
                <py:if test="'view_project_submissions' in permissions">
 
69
                  <br />
74
70
                  <a class="verifyaction" href="${req.publisher.generate(project)}">View submissions</a>
75
 
                  <a py:if="project.project_set.is_group" class="groupaction"
 
71
                  <a py:if="project.project_set.is_group" class="manageaction"
76
72
                     href="${req.publisher.generate(project.project_set, GroupsView)}">Manage groups</a>
77
 
                </div>
 
73
                </py:if>
78
74
              </li>
79
75
            </ul>
80
76
            <p py:if="context.get_open_projects_for_user(req.user).count() > 0">
124
120
                <span style="font-weight: bold;">Mark:</span> ${worksheet_mark}/${worksheet_max_mark}
125
121
              </p>
126
122
            </py:if>
127
 
            <div class="horizontalactions" py:if="'edit_worksheets' in permissions">
 
123
            <span py:if="'edit_worksheets' in permissions">
128
124
              <a class="manageaction" href="${req.publisher.generate(context, None, ('+worksheets', '+edit'))}"> Manage worksheets</a>
 
125
              <br />
129
126
              <a class="manageaction" href="/+exercises">Manage exercises</a>
130
 
            </div>
 
127
            </span>
131
128
          </div>
132
129
        </py:choose>
133
130
      </div>