pytask/templates/task/browse_textbooks.html
changeset 134 563fe356947d
child 138 5a94c774473c
equal deleted inserted replaced
133:94497f8b1dae 134:563fe356947d
       
     1 {% extends 'base.html' %}
       
     2 {% block content %}
       
     3     {% if comp_textbooks %}
       
     4     Textbooks that were completed recently<ul>
       
     5     {% for textbook in comp_textbooks %}
       
     6         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
       
     7     {% endfor %}
       
     8     </ul>
       
     9     <br />
       
    10     {% endif %}
       
    11 
       
    12     {% if open_textbooks %}
       
    13     textbooks that are open for contribution<ul>
       
    14     {% for textbook in comp_textbooks %}
       
    15         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
       
    16     {% endfor %}
       
    17     </ul>
       
    18     <br />
       
    19     {% endif %}
       
    20 
       
    21     {% if unpub_textbooks %}
       
    22     Textbooks that have been created but need approval<ul>
       
    23     {% for textbook in unpub_textbooks %}
       
    24         <li><a href="/task/textbook/view/tid={{ textbook.uniq_key }}">{{ textbook.name }}</a></li>
       
    25     {% endfor %}
       
    26     </ul>
       
    27     <br />
       
    28     {% endif %}
       
    29 {% endblock %}