Commit 0d4fa8fa88b9edc02715a2009a874d1ff2a9ebd9
Exists in
master
and in
20 other branches
Merge branch 'event_time' into 'master'
event: Fix past/future class on events Events from the past was being displayed with "future" class and vice-versa Still needs to treat events of the day and that started on the past, but has duration of more than one day See merge request !734
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
plugins/event/views/blocks/event.html.erb
@@ -9,7 +9,7 @@ | @@ -9,7 +9,7 @@ | ||
9 | :locals => { | 9 | :locals => { |
10 | :event => event, | 10 | :event => event, |
11 | :block => block, | 11 | :block => block, |
12 | - :time_class => days_left < 0 ? 'future' : 'past', | 12 | + :time_class => days_left < 0 ? 'past' : 'future', |
13 | :time_left_str => block.human_time_left(days_left) | 13 | :time_left_str => block.human_time_left(days_left) |
14 | } | 14 | } |
15 | ) | 15 | ) |