diff options
-rw-r--r-- | pytask/templates/task/claim.html | 2 | ||||
-rw-r--r-- | pytask/templates/task/view.html | 12 | ||||
-rw-r--r-- | pytask/templates/task/view_textbook.html | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/pytask/templates/task/claim.html b/pytask/templates/task/claim.html index 74d44ad..5ab110f 100644 --- a/pytask/templates/task/claim.html +++ b/pytask/templates/task/claim.html @@ -7,7 +7,7 @@ List of all the claims for the task <a href="/task/view/tid={{task.uniq_key}}">{{task.title}}</a><br /> {% for claim in old_claims %} <hr /> - <a href="/user/view/uid={{claim.claimed_by.id}}">{{claim.claimed_by.username}}</a> + <a href="/profile/user/view/uid={{claim.claimed_by.id}}">{{claim.claimed_by.username}}</a> on {{claim.claim_datetime|date:"D d M Y"}} at {{claim.claim_datetime|time:"H:i"}} wrote:<br /> {{claim.proposal|linebreaksbr}}<br /> {% endfor %} diff --git a/pytask/templates/task/view.html b/pytask/templates/task/view.html index 30b6de5..a106c02 100644 --- a/pytask/templates/task/view.html +++ b/pytask/templates/task/view.html @@ -23,7 +23,7 @@ {% endif %} --> - <hr />created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a> + <hr />created by <a href="/profile/user/view/uid={{ 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 %} @@ -34,7 +34,7 @@ {% endifequal %} {% for reviewer in reviewers %} - <a href="/user/view/uid={{reviewer.id}}">{{reviewer.username}}</a> + <a href="/profile/user/view/uid={{reviewer.id}}">{{reviewer.username}}</a> {% endfor %} {% endif %} @@ -64,13 +64,13 @@ <!-- {% ifequal task.status "CD" %} - Task has been closed by <a href="/user/view={{closing_notification.sent_from.id}}">{{closing_notification.sent_from.username}}</a> + Task has been closed by <a href="/profile/user/view={{closing_notification.sent_from.id}}">{{closing_notification.sent_from.username}}</a> on {{closing_notification.sent_date|date:"D d M Y"}} at {{closing_notification.sent_date|time:"H:i"}}<br /> <b>Reason: </b>{{closing_notification.remarks}}<br /> {% endifequal %} {% ifequal task.status "CM" %} - Task has been marked complete by <a href="/user/view={{completed_notification.sent_from.id}}"> + Task has been marked complete by <a href="/profile/user/view={{completed_notification.sent_from.id}}"> {{completed_notification.sent_from.username}}</a> on {{completed_notification.sent_date|date:"D d M Y"}} at {{completed_notification.sent_date|time:"H:i"}}<br /> {% endifequal %} @@ -87,7 +87,7 @@ {% if selected_users %} Users working on this task: {% for user in selected_users %} - <a href="/user/view/uid={{user.id}}">{{user.username}}</a> + <a href="/profile/user/view/uid={{user.id}}">{{user.username}}</a> {% endfor %} <br /> {% endif %} @@ -108,7 +108,7 @@ {% if comments %} comments:<br /><br /> {% for comment in comments %} - <a href="/user/view/uid={{comment.commented_by.id}}">{{ comment.commented_by.username }}</a> + <a href="/profile/user/view/uid={{comment.commented_by.id}}">{{ comment.commented_by.username }}</a> on {{ comment.comment_datetime|date:"D d M Y"}} at {{comment.comment_datetime|time:"H:i"}} wrote:<br /> {{ comment.data|linebreaksbr }}<br /> {% endfor %} diff --git a/pytask/templates/task/view_textbook.html b/pytask/templates/task/view_textbook.html index 4641210..22c35d5 100644 --- a/pytask/templates/task/view_textbook.html +++ b/pytask/templates/task/view_textbook.html @@ -13,7 +13,7 @@ <a href="/task/textbook/approve/tid={{textbook.uniq_key}}">Approve Text book</a> {% endif %} - <hr />created by <a href="/user/view/uid={{ textbook.created_by.id }}">{{ textbook.created_by.username }}</a> + <hr />created by <a href="/profile/user/view/uid={{ textbook.created_by.id }}">{{ textbook.created_by.username }}</a> on {{textbook.creation_datetime|date:"D d M Y"}} at {{textbook.creation_datetime|time:"H:i"}}<br /> <hr /> @@ -46,7 +46,7 @@ {% if comments %} comments:<br /><br /> {% for comment in comments %} - <a href="/user/view/uid={{comment.commented_by.id}}">{{ comment.commented_by.username }}</a> + <a href="/profile/user/view/uid={{comment.commented_by.id}}">{{ comment.commented_by.username }}</a> on {{ comment.comment_datetime|date:"D d M Y"}} at {{comment.comment_datetime|time:"H:i"}} wrote:<br /> {{ comment.data|linebreaksbr }}<br /> {% endfor %} |