~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-17 12:00:09 UTC
  • Revision ID: grantw@unimelb.edu.au-20100217120009-o48s4r1junx8oq8n
Tags: 1.0beta2
Drop version number to 1.0beta2. We are going in for another one.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
          </li>
18
18
        </ul>
19
19
      </py:for>
20
 
      <py:if test="defined('subjects')">
21
 
        <h1>All subjects</h1>
22
 
        <table class="pretty_table">
23
 
          <thead><tr><th>Subject</th><th>Code</th><th>Actions</th></tr></thead>
24
 
          <tbody>
25
 
            <tr py:for="subject in subjects">
26
 
              <td>${subject.name}</td>
27
 
              <td>${subject.code}</td>
28
 
              <td>
29
 
                <a href="${req.publisher.generate(subject, SubjectEdit)}" title="Edit"><img src="${mediapath + 'interface/pencil.png'}" alt="Edit" /></a>
30
 
              </td>
31
 
            </tr>
32
 
          </tbody>
33
 
        </table>
34
 
        <p>
35
 
          <a class="addaction" href="/subjects/+new">Create new subject</a>
36
 
          <a class="addaction" href="/subjects/+new-offering">Create new offering</a>
37
 
        </p>
38
 
      </py:if>
 
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>
 
23
      </div>
39
24
    </div>
40
25
  </body>
41
26
</html>