Sha256: b8feb80ea3295718e459c79fc969edd9ec2702b7fa726afd8367b8e7aa895fa0

Contents?: true

Size: 887 Bytes

Versions: 103

Compression:

Stored size: 887 Bytes

Contents

<%= raw t('notification.update.'+ activity.receiver.subject.class.to_s.underscore, 
           :sender => truncate_name(activity.sender.name),
           :whose => t('notification.whose.'+ activity.receiver.subject.class.to_s.underscore,
                      :receiver => truncate_name(activity.receiver.name)),
           :thing => t(activity.direct_object.class.to_s.underscore+'.one')) %>

<% if activity.direct_object.respond_to? :text %>
  "<%= sanitize activity.direct_object.text.truncate(100, :separator =>' ')%>"
--><%= t('notification.all_text', :url => notification_url_of(activity.direct_object, @notification))%>
<% else%>
  <%= t('notification.watch', :url => notification_url_of( activity.direct_object, @notification))%>
<% end%>

<%= raw t('notification.look', 
          :sender => truncate_name(activity.sender.name))%>: <%=polymorphic_url(activity.sender.subject)%>

Version data entries

103 entries across 103 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/app/views/notifications/activities/_update.text.erb
social_stream-base-2.2.2 app/views/notifications/activities/_update.text.erb
social_stream-2.2.1 base/app/views/notifications/activities/_update.text.erb
social_stream-base-2.2.1 app/views/notifications/activities/_update.text.erb
social_stream-2.2.0 base/app/views/notifications/activities/_update.text.erb
social_stream-base-2.2.0 app/views/notifications/activities/_update.text.erb
social_stream-2.1.1 base/app/views/notifications/activities/_update.text.erb
social_stream-1.1.12 base/app/views/notifications/activities/_update.text.erb
social_stream-base-1.1.11 app/views/notifications/activities/_update.text.erb
social_stream-2.1.0 base/app/views/notifications/activities/_update.text.erb
social_stream-base-2.1.0 app/views/notifications/activities/_update.text.erb
social_stream-2.0.4 base/app/views/notifications/activities/_update.text.erb
social_stream-base-2.0.4 app/views/notifications/activities/_update.text.erb
social_stream-2.0.3 base/app/views/notifications/activities/_update.text.erb
social_stream-base-2.0.3 app/views/notifications/activities/_update.text.erb
social_stream-1.1.11 base/app/views/notifications/activities/_update.text.erb
social_stream-base-1.1.10 app/views/notifications/activities/_update.text.erb
social_stream-1.1.10 base/app/views/notifications/activities/_update.text.erb
social_stream-base-1.1.9 app/views/notifications/activities/_update.text.erb
social_stream-1.1.9 base/app/views/notifications/activities/_update.text.erb