<li class="item {{ activity.activity_type|replace(' ', '-')|lower }}">
  <span class="fa-stack fa-lg">
    <i class="fa fa-circle fa-stack-2x icon"></i>
    <i class="fa fa-chart-bar fa-stack-1x fa-inverse"></i>
  </span>
  {% set resource_link = h.link_to(label=activity.data.resource_id,
                                   url=h.url_for('resource.read', id=activity.data.package_id,
                                    resource_id=activity.data.resource_id)) %}
  {{ _('{actor} deleted resource view "{view_title}" for resource {resource_link}').format(
    actor=ah.actor(activity),
    view_title=h.get_translated(activity.data, 'title'),
    resource_link=resource_link
  )|safe }}
  <br />
  <span class="date" title="{{ h.render_datetime(activity.timestamp, with_hours=True) }}">
    {{ h.time_ago_from_timestamp(activity.timestamp) }}
  </span>
</li>
