# HG changeset patch # User nishanth # Date 1267303071 -19800 # Node ID 3a49a7e23442ea91e6ccd6d458675fdea058253c # Parent 34187a80d27955e6ec3dd88540c6f9e5ed6128cc added filter on time for view task request notification. diff -r 34187a80d279 -r 3a49a7e23442 templates/task/view.html --- a/templates/task/view.html Sun Feb 28 01:15:15 2010 +0530 +++ b/templates/task/view.html Sun Feb 28 02:07:51 2010 +0530 @@ -6,7 +6,8 @@ {% if task_viewable %}

{{ task.title }}


- created by {{ task.created_by.username }} on {{ task.creation_datetime.ctime }}
+ created by {{ task.created_by.username }} + on {{task.creation_datetime|date:"D d M Y"}} at {{task.creation_datetime|time:"H:i"}}
{% if is_mentor %} diff -r 34187a80d279 -r 3a49a7e23442 templates/user/view_notification.html --- a/templates/user/view_notification.html Sun Feb 28 01:15:15 2010 +0530 +++ b/templates/user/view_notification.html Sun Feb 28 02:07:51 2010 +0530 @@ -17,7 +17,7 @@

- sent at {{notification.sent_date}}
+ sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}
Sub: {{notification.sub}}

{{notification.message|safe}} diff -r 34187a80d279 -r 3a49a7e23442 templates/user/view_request.html --- a/templates/user/view_request.html Sun Feb 28 01:15:15 2010 +0530 +++ b/templates/user/view_request.html Sun Feb 28 02:07:51 2010 +0530 @@ -19,7 +19,7 @@ {{to_user.username}}  {% endfor %}
- sent at {{req.creation_date}}
+ sent on {{notification.sent_date|date:"D d M Y"}} at {{notification.sent_date|time:"H:i"}}
Message:
{% ifequal "PY" req.role %} {{req.sent_by.username}} assigned {{req.pynts}} pynts to