templates/task/view.html
changeset 16 ad6dd152aff3
parent 12 a93eebabfeb1
child 21 c28774fe7ffd
equal deleted inserted replaced
15:4e29ed911123 16:ad6dd152aff3
     1 {% extends 'base.html' %}
     1 {% extends 'base.html' %}
     2 {% block title %}
     2 {% block title %}
     3     {{task.title}}
     3     {{task.title}}
     4 {% endblock %}
     4 {% endblock %}
     5 {% block content %}
     5 {% block content %}
     6     <a href="/task/browse/pg=1">Browse tasks</a>
     6     <a href="/task/browse/">Browse tasks</a>
     7     <h3>{{ task.title }}</h3><br />
     7     <h3>{{ task.title }}</h3><br />
     8     <!-- we have to write our own datetime.strftime filter and use in the next line -->
     8     <!-- we have to write our own datetime.strftime filter and use in the next line -->
     9     created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a> on {{ task.creation_datetime.ctime }}<br />
     9     created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a> on {{ task.creation_datetime.ctime }}<br />
    10     <br />Description:<br />
    10     <br />Description:<br />
    11     <br />{{ task.desc }}<br />
    11     <br />{{ task.desc }}<br />