templates/index.html
changeset 70 a14ec2f09beb
parent 42 9b5b8c997598
child 97 3699550991c6
equal deleted inserted replaced
69:49532a0f5071 70:a14ec2f09beb
     7         Recent Tasks:<br />
     7         Recent Tasks:<br />
     8         {% for task in task_list %}
     8         {% for task in task_list %}
     9             <a href="/task/view/tid={{ task.id }}">{{ task.title }}</a><br />
     9             <a href="/task/view/tid={{ task.id }}">{{ task.title }}</a><br />
    10         {% endfor %}
    10         {% endfor %}
    11     {% else %}
    11     {% else %}
    12         Welcome {{ user.username }} <br />
    12         Logged in as {{ user.username }} <br />
    13         <a href="/accounts/logout/">logout</a><br />
       
    14         <br />
       
    15         <a href="/task/browse/">Tasks</a><br />
       
    16         <a href="/user/view/uid={{user.id}}">My Profile</a><br />
       
    17     {% endif %}
    13     {% endif %}
    18     {% if can_create_task %}
    14     {% if can_create_task %}
    19         <a href="/task/create/">Create a task</a><br />
    15         <a href="/task/create/">Create a task</a><br />
    20     {% endif %}
    16     {% endif %}
    21 {% endblock %}
    17 {% endblock %}