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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2010-02-15 08:49:58 UTC
  • Revision ID: grantw@unimelb.edu.au-20100215084958-8x5dzd9k4pbcddlz
Split subject/semester management out onto a separate page, and link to SemesterEdit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
      <p py:if="len(semesters) == 0">You are not currently enrolled in any subjects.</p>
10
10
      <py:for each="(semester, offerings) in semesters">
11
11
        <h2 py:attrs="{'class': 'subject_current' if semester.state == u'current' else None}">
12
 
          ${semester.year}, ${semester.display_name}
 
12
          ${semester.year}, semester ${semester.semester}
13
13
        </h2>
14
14
        <ul>
15
15
          <li py:for="offering in offerings">
17
17
          </li>
18
18
        </ul>
19
19
      </py:for>
20
 
      <div class="horizontalactions" py:if="req.user.admin">
21
 
        <a class="addaction" href="/subjects/+new-offering">Create new offering</a>
22
 
        <a class="manageaction" href="/subjects/+manage">Manage subjects and semesters</a>
 
20
      <div py:if="req.user.admin">
 
21
        <a class="manageaction" href="/subjects/+manage">Manage subjects</a>
23
22
      </div>
24
23
    </div>
25
24
  </body>