Skip to content

Commit

Permalink
Displays links in file upload notifications
Browse files Browse the repository at this point in the history
Signed-off-by: Akash Manohar J <[email protected]>
  • Loading branch information
HashNuke committed Apr 5, 2012
1 parent d3f89ba commit 0cc5d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
@
@
2 changes: 1 addition & 1 deletion app/assets/templates/user_notification.jst.eco
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<span class="user">Kandan bot</span>

<span class="content">
<%= @activity.user.first_name %> <%= @activity.action %>ed
<%= @activity.user.first_name %> <%= @activity.action %>ed <%- "<a href='#{@activity.content}'>#{@activity.content}</a>" if @activity.action == "upload" %>
</span>
</div>

0 comments on commit 0cc5d17

Please sign in to comment.