pytask/templates/task/browse_textbooks.html
changeset 417 b37e541bf950
parent 376 5a94c774473c
child 431 fcc87a3f0311
equal deleted inserted replaced
416:265dbd81c451 417:b37e541bf950
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
     2 {% block content %}
     2 {% block content %}
     3     {% if comp_textbooks %}
     3     {% if comp_textbooks %}
     4     Textbooks that were completed recently<ul>
     4     Textbooks that were completed recently<ul>
     5     {% for textbook in comp_textbooks %}
     5     {% for textbook in comp_textbooks %}
     6         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
     6         <li><a href="{% url view_textbook textbook.id %}">{{ textbook.name }}</a></li>
     7     {% endfor %}
     7     {% endfor %}
     8     </ul>
     8     </ul>
     9     <br />
     9     <br />
    10     {% endif %}
    10     {% endif %}
    11 
    11 
    12     {% if open_textbooks %}
    12     {% if open_textbooks %}
    13     Textbooks that are open for contribution<ul>
    13     Textbooks that are open for contribution<ul>
    14     {% for textbook in open_textbooks %}
    14     {% for textbook in open_textbooks %}
    15         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
    15         <li><a href="{% url view_textbook textbook.id %}">{{ textbook.name }}</a></li>
    16     {% endfor %}
    16     {% endfor %}
    17     </ul>
    17     </ul>
    18     <br />
    18     <br />
    19     {% endif %}
    19     {% endif %}
    20 
    20 
    21     {% if unpub_textbooks %}
    21     {% if unpub_textbooks %}
    22     Textbooks that need approval<ul>
    22     Textbooks that need approval<ul>
    23     {% for textbook in unpub_textbooks %}
    23     {% for textbook in unpub_textbooks %}
    24         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
    24         <li><a href="{% url view_textbook textbook.id %}">{{ textbook.name }}</a></li>
    25     {% endfor %}
    25     {% endfor %}
    26     </ul>
    26     </ul>
    27     <br />
    27     <br />
    28     {% endif %}
    28     {% endif %}
    29 {% endblock %}
    29 {% endblock %}