pytask/templates/index.html
changeset 126 2763afa1c2a2
parent 125 9b0812962133
child 127 32457bce3437
equal deleted inserted replaced
125:9b0812962133 126:2763afa1c2a2
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
     2 {% block content %}
     2 {% block content %}
     3     {% if not user %}
     3     {% if not user %}
     4         Welcome Guest<br>
     4     Checkout the tasks on the left panel for tasks that have been recently created.<br />
     5         <a href="/accounts/register/">Register</a>
     5     Checkout the textbooks for textbooks that have been added to the project.<br />
     6         <a href="/accounts/login/">Login</a><br /><br />
     6 
     7     {% else %}
     7     {% else %}
     8         Logged in as {{ user.username }} <br /><br />
     8         Logged in as {{ user.username }} <br /><br />
     9     {% endif %}
     9     {% endif %}
    10 
    10 
    11     {% if can_create_task %}
    11     {% if can_create_task %}