~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: 2009-12-16 03:11:37 UTC
  • mto: This revision was merged to the branch mainline in revision 1450.
  • Revision ID: me@williamgrant.id.au-20091216031137-es6d1sznu2xozylb
Add basic (ie. pretty much empty) offering index.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>${context.subject.name} (${context.semester.year} semester ${context.semester.semester})</title>
 
5
  </head>
 
6
  <body>
 
7
    <h1>${context.subject.name}</h1>
 
8
    <div id="ivle_padding">
 
9
      <div class="contextactions">
 
10
        <a py:if="'enrol' in context.get_permissions(req.user)"
 
11
           class="editaction"
 
12
           href="${req.publisher.generate(context, None, ('+enrolments', '+new'))}">
 
13
          Enrol users
 
14
        </a>
 
15
        <a py:if="'edit' in context.get_permissions(req.user)"
 
16
           class="editaction"
 
17
           href="${req.publisher.generate(context, None, '+projects')}">
 
18
          Manage projects
 
19
        </a>
 
20
        <a py:if="'edit' in context.get_permissions(req.user)"
 
21
           class="editaction"
 
22
           href="${req.publisher.generate(context, None, ('+worksheets', '+edit'))}">
 
23
          Manage worksheets
 
24
        </a>
 
25
      </div>
 
26
    </div>
 
27
  </body>
 
28
</html>
 
29
    
 
30