app/views/index/dashboard.html.haml in artfully_ose-1.0.0.rc4 vs app/views/index/dashboard.html.haml in artfully_ose-1.1.0.rc1
- old
+ new
@@ -28,17 +28,19 @@
.span2
= image_tag "actions/#{action.action_type.downcase}.png"
.span10
=link_to_person (action.person)
=action.sentence
+ .muted="#{time_ago_in_words(action.occurred_at)} ago"
.span8
%section
-if @ticket_offers
= render :partial => "ticket_offers/list", :locals => { :ticket_offers => @ticket_offers }
%h3 Events
= render :partial => 'events/list', :locals => { :events => @events }
- - unless @events.blank?
- .pull-right
+ = link_to "Create New Event", new_event_path, :class => "btn btn-primary"
+ .pull-right
+ - unless @events.blank?
=icon_link_to("View All Events", events_path, 'icon-arrow-right', 'btn', '')