diff options
Diffstat (limited to 'pytask/templates/task/browse_textbooks.html')
-rw-r--r-- | pytask/templates/task/browse_textbooks.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/pytask/templates/task/browse_textbooks.html b/pytask/templates/task/browse_textbooks.html new file mode 100644 index 0000000..3d2edd0 --- /dev/null +++ b/pytask/templates/task/browse_textbooks.html @@ -0,0 +1,29 @@ +{% extends 'base.html' %} +{% block content %} + {% if comp_textbooks %} + Textbooks that were completed recently<ul> + {% for textbook in comp_textbooks %} + <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li> + {% endfor %} + </ul> + <br /> + {% endif %} + + {% if open_textbooks %} + textbooks that are open for contribution<ul> + {% for textbook in comp_textbooks %} + <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li> + {% endfor %} + </ul> + <br /> + {% endif %} + + {% if unpub_textbooks %} + Textbooks that have been created but need approval<ul> + {% for textbook in unpub_textbooks %} + <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li> + {% endfor %} + </ul> + <br /> + {% endif %} +{% endblock %} |