diff options
Diffstat (limited to 'templates/task/view.html')
-rw-r--r-- | templates/task/view.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/task/view.html b/templates/task/view.html index bae80c5..d565a13 100644 --- a/templates/task/view.html +++ b/templates/task/view.html @@ -10,12 +10,16 @@ <a href="/task/edit/tid={{task.id}}">Edit task</a> {% endif %} + {% if can_publish %} + <a href="/task/publish/tid={{task.id}}">Publish task</a> + {% endif %} + {% if can_close %} <a href="/task/close/tid={{task.id}}">Close this task</a> {% endif %} - - {% if can_publish %} - <a href="/task/publish/tid={{task.id}}">Publish task</a> + + {% if can_delete %} + <a href="/task/delete/tid={{task.id}}">Delete task</a> {% endif %} <hr />created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a> |