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

« back to all changes in this revision

Viewing changes to ivle/webapp/tutorial/subjectmenu.html

ivle.webapp.groups: Remove most of the view code; the template now accesses
    the objects directly. Also fix a few double-encodings and typos.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<html xmlns="http://www.w3.org/1999/xhtml"
2
2
      xmlns:py="http://genshi.edgewall.org/">
3
3
  <head>
4
 
    <title>Worksheets - ${subject.name}</title>
 
4
    <title>Tutorial - Subject Menu</title>
5
5
  </head>
6
6
  <body>
7
 
    <h1>Worksheets for ${subject.name}</h1>
8
7
    <div id="ivle_padding">
 
8
      <h1>IVLE Tutorials - ${subject}</h1>
 
9
      <h2>Worksheets</h2>
9
10
      <ul id="tutorial-toc">
10
11
        <py:for each="worksheet in worksheets">
11
12
          <li>
12
 
            <a href="/subjects/${subject.code}/${year}/${semester}/+worksheets/${worksheet.id}">${worksheet.name}</a>
 
13
            <!-- XXX: Generate URL properly! -->
 
14
            <a href="/subjects/${subject}/+worksheets/${worksheet.id}">${worksheet.name}</a>
13
15
            <py:if test="worksheet.assessable">
14
16
              <ul>
15
17
                <li class="${worksheet.complete_class}">