Sha256: a8e974df5d0b9779a3e26b9fb6a8342218d925d693a1f17ed29a910b019f3a63
Contents?: true
Size: 848 Bytes
Versions: 79
Compression:
Stored size: 848 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 => polymorphic_url(activity.direct_object))%> <% else%> <%= t('notification.watch', :url => polymorphic_url( activity.direct_object))%> <% end%> <%= raw t('notification.look', :sender => truncate_name(activity.sender.name))%>: <%=polymorphic_url(activity.sender.subject)%>
Version data entries
79 entries across 79 versions & 4 rubygems