pytask/templates/task/view_textbook.html
changeset 544 17c60a9c2439
parent 530 ab9b9e59de9d
child 547 1bfa67f465b4
equal deleted inserted replaced
543:57b0f8f80ebf 544:17c60a9c2439
    36     </h3>
    36     </h3>
    37     {% if chapters %}
    37     {% if chapters %}
    38       <table>
    38       <table>
    39       {% for chap in chapters %}
    39       {% for chap in chapters %}
    40       <tr>
    40       <tr>
    41         <td><a href="{% url view_task chap.id %}">{{chap.title}}</a> </td>
    41         <td><a href="{% url view_chapter chap.parent.id chap.id %}">{{chap.title}}</a> </td>
    42       </tr>
    42       </tr>
    43       {% endfor %}
    43       {% endfor %}
    44       </table>
    44       </table>
    45     {% else %}
    45     {% else %}
    46       (Chapters are yet to be added by the Coordinator or T/A.)<br />
    46       (Chapters are yet to be added by the Coordinator or T/A.)<br />