Commit 36f1b7bc55ad7d77c2badfadedb184d95d76bbac
1 parent
73a643ce
Exists in
master
and in
20 other branches
event: Fix past/future class on events
Events from the past was being displayed with "future" class and vice-versa
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 | ) |
-
mentioned in commit c61ae58bf9c4eef90120af865fbad937c5b10771