equal
deleted
inserted
replaced
4 {% load form_helpers %} |
4 {% load form_helpers %} |
5 {% load browse_helpers %} |
5 {% load browse_helpers %} |
6 |
6 |
7 |
7 |
8 {% block title %} |
8 {% block title %} |
9 {{textbook.name}} |
9 {{ textbook.title }} |
10 {% endblock %} |
10 {% endblock %} |
11 |
11 |
12 {% block content %} |
12 {% block content %} |
13 {% as_modification_display "Created by" textbook.created_by textbook.creation_datetime %} |
13 {% as_modification_display "Created by" textbook.created_by textbook.creation_datetime %} |
14 <h3>{{ textbook.title }}</h3> |
14 <h3>{{ textbook.title }}</h3> |
29 {{tag}} |
29 {{tag}} |
30 {% endfor %} |
30 {% endfor %} |
31 <hr /> |
31 <hr /> |
32 {% endif %} |
32 {% endif %} |
33 |
33 |
|
34 Chapters: <br /> |
34 {% if chapters %} |
35 {% if chapters %} |
35 <table> |
36 <table> |
36 {% for chap in chapters %} |
37 {% for chap in chapters %} |
37 <tr> |
38 <tr> |
38 <td><a href="{% url view_task chap.id %}">{{chap.title}}</a> </td> |
39 <td><a href="{% url view_task chap.id %}">{{chap.title}}</a> </td> |
39 <td> {{chap.status}} </td> |
40 <td> {{chap.status}} </td> |
40 </tr> |
41 </tr> |
41 {% endfor %} |
42 {% endfor %} |
42 </table> |
43 </table> |
43 {% else %} |
44 {% else %} |
44 There are no chapters in this textbook as of now.<br /> |
45 (Chapters are yet to be added by the Coordinator or T/A.)<br /> |
45 {% endif %} |
46 {% endif %} |
46 |
47 |
47 <hr /> |
48 <hr /> |
48 {% if comments %} |
49 {% if comments %} |
49 comments:<br /><br /> |
50 comments:<br /><br /> |