diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-08 13:14:47 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-03-08 13:14:47 +0200 |
commit | 9c709be335d3023dacb7c1140fcd15478c14a307 (patch) | |
tree | 687904200ce25bff17370005c7fbe9aa4f4db310 | |
parent | bc15713569ece82f368789768ebeaa392f378264 (diff) | |
download | gitlab-ce-9c709be335d3023dacb7c1140fcd15478c14a307.tar.gz |
fix event relative date being cached
-rw-r--r-- | app/views/events/_event.html.haml | 8 |
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? |