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

« back to all changes in this revision

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

  • Committer: William Grant
  • Date: 2010-02-17 06:58:25 UTC
  • Revision ID: grantw@unimelb.edu.au-20100217065825-6s91gsbzl82621bu
Replace OfferingView's link to EnrolView with one to EnrolmentsView, and link from there to EnrolView.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  <body>
7
7
    <h1>Staff and students in ${offering.subject.name}</h1>
8
8
    <div id="ivle_padding">
9
 
      <div py:def="userlist(title, role)"
 
9
      <div class="majorsection" py:def="userlist(title, role)"
10
10
           py:if="offering.get_members_by_role(unicode(role)).count()">
11
11
        <h2>${title}</h2>
12
12
        <table class="pretty_table">
22
22
      ${userlist("Lecturers", "lecturer")}
23
23
      ${userlist("Tutors", "tutor")}
24
24
      ${userlist("Students", "student")}
 
25
      <a class="groupaction" href="${req.publisher.generate(offering, EnrolView)}">Enrol user</a>
25
26
    </div>
26
27
  </body>
27
28
</html>