Skip to content

Commit

Permalink
Event show has event location, time and date next to map in deets div.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Fogarty-MacDonald committed Sep 9, 2008
1 parent 411c439 commit 3581772
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
15 changes: 8 additions & 7 deletions app/views/events/show_upcoming.html.haml
Expand Up @@ -49,14 +49,15 @@
.map
= render :partial => "shared/map", :locals => {:src => @event.map_iframe_url}
%a{ :href => @event.map_url } View larger version
/

%dl
%dt Bar Broadway
%dd Cnr Broadway & Harris
%dd Doors open 6.00pm
%dd Presentations start 6.30pm
%dd 15 August 2008

%dd
= @event.location
%dd
= "Doors open #{@event.local_held_at.to_datetime.to_s(:time_12hr).downcase}"
%dd
= @event.local_held_at.to_date.to_s(:long_ordinal)
/
- unless @event.posts.empty?
.item.last
= render :partial => "related_posts"
1 change: 1 addition & 0 deletions config/environment.rb
Expand Up @@ -72,6 +72,7 @@
end

Time::DATE_FORMATS[:long_with_day_name] = "%A %B %e, %Y"
Time::DATE_FORMATS[:time_12hr] = "%I:%M%p"
Date::DATE_FORMATS[:long_with_day_name] = "%A %B %e, %Y"

ExceptionNotifier.exception_recipients = %w(t.lucas@toolmantim.com lachlan.hardy@gmail.com)
Expand Down

0 comments on commit 3581772

Please sign in to comment.