<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-file fa-stack-1x fa-inverse"></i>
  </span>
  {{ _('{actor} added the resource {resource} to the dataset {dataset}').format(
    actor=ah.actor(activity),
    resource=ah.resource(activity),
    dataset=ah.dataset(activity)
  )|safe }}
  <br />
  <span class="date" title="{{ h.render_datetime(activity.timestamp, with_hours=True) }}">
    {{ h.time_ago_from_timestamp(activity.timestamp) }}
  </span>
</li>
