From 058a7e39c80b43e42234894bf9f94b9745928983 Mon Sep 17 00:00:00 2001 From: Scott Goci Date: Sat, 13 Dec 2014 18:22:26 -0500 Subject: [PATCH] Posted at times are now hoverable so you can see what date / time a message was created --- app/assets/templates/activity_base.jst.eco | 7 ++++--- app/assets/templates/message.jst.eco | 7 ++++--- app/assets/templates/user_notification.jst.eco | 7 ++++--- 3 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app/assets/templates/activity_base.jst.eco b/app/assets/templates/activity_base.jst.eco index 91b3ee8e..eacd93d7 100644 --- a/app/assets/templates/activity_base.jst.eco +++ b/app/assets/templates/activity_base.jst.eco @@ -1,6 +1,7 @@ - - <%= new Date(@activity.created_at).toRelativeTime(Kandan.options().now_threshold) %> - +<% date = new Date(@activity.created_at) %> +
diff --git a/app/assets/templates/message.jst.eco b/app/assets/templates/message.jst.eco index 63fd121e..0b9c437e 100644 --- a/app/assets/templates/message.jst.eco +++ b/app/assets/templates/message.jst.eco @@ -1,6 +1,7 @@ - - <%= new Date(@activity.created_at).toRelativeTime(Kandan.options().now_threshold) %> - +<% date = new Date(@activity.created_at) %> +
diff --git a/app/assets/templates/user_notification.jst.eco b/app/assets/templates/user_notification.jst.eco index 5e0945a7..9b6d0a4a 100644 --- a/app/assets/templates/user_notification.jst.eco +++ b/app/assets/templates/user_notification.jst.eco @@ -1,6 +1,7 @@ - - <%= new Date(@activity.created_at).toRelativeTime(Kandan.options().now_threshold) %> - +<% date = new Date(@activity.created_at) %> +