~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-16 03:14:00 UTC
  • mto: This revision was merged to the branch mainline in revision 1450.
  • Revision ID: me@williamgrant.id.au-20091216031400-0zzlc68yn7dqdvqh
Link to the offering index from the subject listing, and remove the action links.

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>