diff options
Diffstat (limited to 'pytask/templates/task/browse_textbooks.html')
-rw-r--r-- | pytask/templates/task/browse_textbooks.html | 54 |
1 files changed, 35 insertions, 19 deletions
diff --git a/pytask/templates/task/browse_textbooks.html b/pytask/templates/task/browse_textbooks.html index 1e5cbb0..7797c2a 100644 --- a/pytask/templates/task/browse_textbooks.html +++ b/pytask/templates/task/browse_textbooks.html @@ -1,30 +1,46 @@ {% extends "base.html" %} {% block content %} - {% if comp_textbooks %} - Textbooks that were completed recently<ul> - {% for textbook in comp_textbooks %} - <li><a href="{% url view_textbook textbook.id %}">{{ textbook.name }}</a></li> - {% endfor %} + {% if comp_textbooks %} + Textbooks that were completed recently + <ul> + {% for textbook in comp_textbooks %} + <li> + <a href="{% url view_textbook textbook.id %}"> + {{ textbook.name }} + </a> + </li> + {% endfor %} </ul> <br /> - {% endif %} + {% endif %} - {% if open_textbooks %} - Textbooks that are open for contribution<ul> - {% for textbook in open_textbooks %} - <li><a href="{% url view_textbook textbook.id %}">{{ textbook.name }}</a></li> - {% endfor %} + {% if open_textbooks %} + Textbooks that are open for contribution + <ul> + {% for textbook in open_textbooks %} + <li> + <a href="{% url view_textbook textbook.id %}"> + {{ textbook.name }} + </a> + </li> + {% endfor %} </ul> <br /> - {% endif %} + {% endif %} - {% if unpub_textbooks %} - Textbooks that need approval<ul> - {% for textbook in unpub_textbooks %} - <li><a href="{% url view_textbook textbook.id %}">{{ textbook.name }}</a></li> - {% endfor %} + {% if unpub_textbooks %} + Textbooks that need approval + <ul> + {% for textbook in unpub_textbooks %} + <li> + <a href="{% url view_textbook textbook.id %}"> + {{ textbook.name }} + </a> + </li> + {% endfor %} </ul> - <br /> - {% endif %} + <br /> + {% endif %} + {% endblock %} |