~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: 2009-12-17 05:37:21 UTC
  • mfrom: (1442.1.33 offering-home)
  • Revision ID: me@williamgrant.id.au-20091217053721-cesek4r55zbsyj4b
Replace the offering worksheets page with an offering index, including project information.

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
 
          <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>
 
16
          <li py:for="offering in offerings">
 
17
            <a href="${offering_url(offering)}">${offering.subject.name}</a>
 
18
          </li>
28
19
        </ul>
29
20
      </py:for>
30
21
    </div>