diff options
-rw-r--r-- | templates/task/view.html | 3 | ||||
-rw-r--r-- | templates/user/view_notification.html | 2 | ||||
-rw-r--r-- | templates/user/view_request.html | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/templates/task/view.html b/templates/task/view.html index 7f05220..1b25927 100644 --- a/templates/task/view.html +++ b/templates/task/view.html @@ -6,7 +6,8 @@ {% if task_viewable %} <h3>{{ task.title }}</h3><br /> <!-- we have to write our own datetime.strftime filter and use in the next line --> - created by <a href="/user/view/uid={{ task.created_by.id }}">{{ task.created_by.username }}</a> on {{ task.creation_datetime.ctime }}<br /> + created by <a href="/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 is_mentor %} diff --git a/templates/user/view_notification.html b/templates/user/view_notification.html index cfa36ee..4738238 100644 --- a/templates/user/view_notification.html +++ b/templates/user/view_notification.html @@ -17,7 +17,7 @@ <form action="delete/" method="post"> <input type="submit" value="Delete"> </form> <form action="unread/" method="post"> <input type="submit" value="Keep Unread"> </form> <br /> - sent at {{notification.sent_date}}<br /> + sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br /> Sub: {{notification.sub}}<br /> <br /> {{notification.message|safe}} diff --git a/templates/user/view_request.html b/templates/user/view_request.html index 9be71e4..2d3fc41 100644 --- a/templates/user/view_request.html +++ b/templates/user/view_request.html @@ -19,7 +19,7 @@ <a href="/user/view/uid={{to_user.id}}">{{to_user.username}}</a> {% endfor %} <br /> - sent at {{req.creation_date}}<br /> + sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}<br /> Message: <br /> {% ifequal "PY" req.role %} <a href="/user/view/uid={{req.sent_by.id}}">{{req.sent_by.username}}</a> assigned {{req.pynts}} pynts to |