<% if @activity == 'create' %>
' target='_blank'><%= mention %> <%= object['published'] %>
<%= object['content']%>
<% if object['attachment']
object['attachment'].each do |att|
case att['mediaType']
when /audio/ %>
<% when /image/ %>
'>' src='<%= att['url'] %>'>
<% when /video/ %>
<% end %>
<% end %>
<% end %>