_favorite_enterprise.html.erb 845 Bytes
<div class='profile-activity-image'>
  <%= link_to(profile_image(activity.user, :minor), activity.user.url) %>
</div>
<div class='profile-activity-description'>
  <p class='profile-activity-text'>
    <%= link_to activity.user.short_name(nil), activity.user.url %> <%= describe activity %>
  </p>
  <p class='profile-activity-time'><%= time_ago_as_sentence activity.created_at %></p>

  <div class='profile-wall-actions'>
    <%= link_to_function(_('Remove'), 'remove_item_wall(this, \'%s\', \'%s\', \'%s\'); return false ;' % [".profile-activity-item", url_for(:profile => params[:profile], :action => :remove_activity, :activity_id => activity.id, :view => params[:view]), _('Are you sure you want to remove this activity and all its replies?')]) if logged_in? && current_person == @profile %>
  </div>
</div>

<div style="clear: both"></div>