From 0cc5d1788d3106d5ebe5730b2aa83bcfa3305181 Mon Sep 17 00:00:00 2001 From: Akash Manohar J Date: Fri, 6 Apr 2012 02:04:28 +0530 Subject: [PATCH] Displays links in file upload notifications Signed-off-by: Akash Manohar J --- app/assets/javascripts/backbone/views/show_activity.js.coffee | 2 +- app/assets/templates/user_notification.jst.eco | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/backbone/views/show_activity.js.coffee b/app/assets/javascripts/backbone/views/show_activity.js.coffee index f966efe7..13e5abf1 100644 --- a/app/assets/javascripts/backbone/views/show_activity.js.coffee +++ b/app/assets/javascripts/backbone/views/show_activity.js.coffee @@ -18,4 +18,4 @@ class Kandan.Views.ShowActivity extends Backbone.View $(@el).data('activity_id', activity.id) $(@el).attr('id', "activity-#{activity.id}") $(@el).html(@compiled_template) - @ \ No newline at end of file + @ diff --git a/app/assets/templates/user_notification.jst.eco b/app/assets/templates/user_notification.jst.eco index 55d3fbc4..84ad31e4 100644 --- a/app/assets/templates/user_notification.jst.eco +++ b/app/assets/templates/user_notification.jst.eco @@ -5,7 +5,7 @@ Kandan bot - <%= @activity.user.first_name %> <%= @activity.action %>ed + <%= @activity.user.first_name %> <%= @activity.action %>ed <%- "#{@activity.content}" if @activity.action == "upload" %>