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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2009-12-15 07:34:17 UTC
  • Revision ID: matt.giuca@gmail.com-20091215073417-u19ctikuy4sstyco
ivle-loadsampledata: Checks out a user's Subversion repository, adds a few files, then commits.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
          ${semester.year}, semester ${semester.semester}
14
14
        </h2>
15
15
        <ul>
16
 
          <li py:for="offering in offerings">
17
 
            <a href="${offering_url(offering)}">${offering.subject.name}</a>
18
 
          </li>
 
16
          <py:for each="offering in offerings">
 
17
            <li>
 
18
              <a href="${offering_url(offering)}/+worksheets">${offering.subject.name}</a>
 
19
              <py:if test="'edit' in offering.get_permissions(user)">
 
20
                -
 
21
                <a href="${offering_url(offering)}/+projects">(administer projects)</a>
 
22
                <py:if test="'enrol' in offering.get_permissions(user)">
 
23
                  <a href="${offering_url(offering)}/+enrolments/+new">(enrol users)</a>
 
24
                </py:if>
 
25
              </py:if>
 
26
            </li>
 
27
          </py:for>
19
28
        </ul>
20
29
      </py:for>
21
30
    </div>