summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-08 13:14:47 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-03-08 13:14:47 +0200
commit9c709be335d3023dacb7c1140fcd15478c14a307 (patch)
tree687904200ce25bff17370005c7fbe9aa4f4db310
parentbc15713569ece82f368789768ebeaa392f378264 (diff)
downloadgitlab-ce-9c709be335d3023dacb7c1140fcd15478c14a307.tar.gz
fix event relative date being cached
-rw-r--r--app/views/events/_event.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/events/_event.html.haml b/app/views/events/_event.html.haml
index febd72f699b..e2bf54ea5c9 100644
--- a/app/views/events/_event.html.haml
+++ b/app/views/events/_event.html.haml
@@ -1,9 +1,9 @@
- if event.proper?
- = cache event do
- %div.event-item
- %span.cgray.pull-right
- #{time_ago_in_words(event.created_at)} ago.
+ %div.event-item
+ %span.cgray.pull-right
+ #{time_ago_in_words(event.created_at)} ago.
+ = cache event do
= image_tag gravatar_icon(event.author_email), class: "avatar s24"
- if event.push?