pytask/templates/task/view.html
changeset 9 554581fa3253
parent 5 aea7e764c033
child 14 f2623fb8041a
equal deleted inserted replaced
8:825a497d95b0 9:554581fa3253
     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 />