equal
deleted
inserted
replaced
1 {% extends "base.html" %} |
1 {% extends "base.html" %} |
2 |
2 |
3 {% block content %} |
3 {% block content %} |
|
4 {% if open_textbooks %} |
|
5 Textbooks that are open for contribution |
|
6 <ul> |
|
7 {% for textbook in open_textbooks %} |
|
8 <li> |
|
9 <a href="{% url view_textbook textbook.id %}"> |
|
10 {{ textbook.title }} |
|
11 </a> |
|
12 </li> |
|
13 {% endfor %} |
|
14 </ul> |
|
15 <br /> |
|
16 {% endif %} |
|
17 |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 <!-- TO BE REFORMATTED LATER. JUST PUSHING IT DOWN. --> |
|
23 {% comment %} |
|
24 |
4 {% if comp_textbooks %} |
25 {% if comp_textbooks %} |
5 Textbooks that were completed recently |
26 Textbooks that were completed recently |
6 <ul> |
27 <ul> |
7 {% for textbook in comp_textbooks %} |
28 {% for textbook in comp_textbooks %} |
8 <li> |
29 <li> |
19 Textbooks that are open for contribution |
40 Textbooks that are open for contribution |
20 <ul> |
41 <ul> |
21 {% for textbook in open_textbooks %} |
42 {% for textbook in open_textbooks %} |
22 <li> |
43 <li> |
23 <a href="{% url view_textbook textbook.id %}"> |
44 <a href="{% url view_textbook textbook.id %}"> |
24 {{ textbook.name }} |
45 {{ textbook.title }} |
25 </a> |
46 </a> |
26 </li> |
47 </li> |
27 {% endfor %} |
48 {% endfor %} |
28 </ul> |
49 </ul> |
29 <br /> |
50 <br /> |
40 </li> |
61 </li> |
41 {% endfor %} |
62 {% endfor %} |
42 </ul> |
63 </ul> |
43 <br /> |
64 <br /> |
44 {% endif %} |
65 {% endif %} |
|
66 {% endcomment %} |
45 |
67 |
46 {% endblock %} |
68 {% endblock %} |