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