summaryrefslogtreecommitdiff
path: root/pytask/templates/task/browse_textbooks.html
blob: 3d2edd0d663729f00cc61a54410c6fff4f061d66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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 %}