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

« back to all changes in this revision

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

  • Committer: David Coles
  • Date: 2010-02-17 07:17:57 UTC
  • Revision ID: coles.david@gmail.com-20100217071757-hndnsk84bn85fscd
Force public mode URLs to use HTTP. This should be configurable from ivle.conf.

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