Skip to content

Commit

Permalink
[#518] Fixes for activity stream item template
Browse files Browse the repository at this point in the history
  • Loading branch information
tobes committed Jul 18, 2013
1 parent 7792e2e commit b67615d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckan/templates/snippets/activity_item.html
Expand Up @@ -5,6 +5,6 @@
<i class="icon icon-{{ activity.icon }}"></i>
<p>
{{ h.literal(activity.msg.format(**activity.data)) }}
<span class="date" title="{{ h.render_datetime(activity.timestamp, "%a, %d %b %Y %H:%M:%S") }}">{{ h.time_ago_in_words_from_str(activity.timestamp, 'hour') }} ago</span>
<span class="date" title="{{ h.render_datetime(activity.timestamp, with_hours=True) }}">{{ h.time_ago_from_timestamp(activity.timestamp) }}</span>
</p>
</li>
</li>

0 comments on commit b67615d

Please sign in to comment.