[Git][noosfero/noosfero][master] 2 commits: event: Fix past/future class on events
Antonio Terceiro
gitlab at mg.gitlab.com
Fri Nov 20 15:44:32 BRST 2015
Antonio Terceiro pushed to branch master at Noosfero / noosfero
Commits:
36f1b7bc by Daniela Feitosa at 2015-11-20T14:25:51Z
event: Fix past/future class on events
Events from the past was being displayed with "future" class and
vice-versa
- - - - -
0d4fa8fa by Antonio Terceiro at 2015-11-20T17:42:32Z
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
- - - - -
1 changed file:
- plugins/event/views/blocks/event.html.erb
Changes:
=====================================
plugins/event/views/blocks/event.html.erb
=====================================
--- a/plugins/event/views/blocks/event.html.erb
+++ b/plugins/event/views/blocks/event.html.erb
@@ -9,7 +9,7 @@
:locals => {
:event => event,
:block => block,
- :time_class => days_left < 0 ? 'future' : 'past',
+ :time_class => days_left < 0 ? 'past' : 'future',
:time_left_str => block.human_time_left(days_left)
}
)
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/73a643cec597b52c0f0e2f70fb48e57f7fecbb7d...0d4fa8fa88b9edc02715a2009a874d1ff2a9ebd9
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20151120/5312fa36/attachment-0001.html>
More information about the Noosfero-dev
mailing list