diff options
-rw-r--r-- | pytask/templates/task/view.html | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/pytask/templates/task/view.html b/pytask/templates/task/view.html index 3ac79ee..cb71fb6 100644 --- a/pytask/templates/task/view.html +++ b/pytask/templates/task/view.html @@ -2,12 +2,16 @@ {% load form_helpers %} +{% load browse_helpers %} + {% block title %} {{task.title}} {% endblock %} {% block content %} + {% as_modification_display "Created by" task.created_by task.creation_datetime %} + <h3>{{ task.title }}</h3> {% if can_edit %} @@ -22,14 +26,6 @@ <a href="{% url close_task task.id %}">Close task</a> {% endif %} - <hr />created by - <a href="{% url view_user_profile task.created_by.id %}"> - {{ task.created_by.username }} - </a> - on {{task.creation_datetime|date:"D d M Y"}} at - {{task.creation_datetime|time:"H:i"}} - <br /> - {% if reviewers %} Reviewers: {% for reviewer in reviewers %} |