From f3c50c41aea97c289dfbe3176191592754277544 Mon Sep 17 00:00:00 2001
From: nishanth
Date: Sun, 28 Feb 2010 02:07:51 +0530
Subject: added filter on time for view task request notification.
---
templates/task/view.html | 3 ++-
templates/user/view_notification.html | 2 +-
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 %}
{{ 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 --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 @@
- 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 --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 @@
{{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
--
cgit