app/views/index/dashboard.html.haml in artfully_ose-1.2.0.beta.1 vs app/views/index/dashboard.html.haml in artfully_ose-1.2.0.pre

- old
+ new

@@ -29,22 +29,22 @@ .span4.event-icon-container = render :partial => 'shared/event_image_icon', :locals => { :event => event } .span8 %h4.event-link= link_to event.name, event_path(event), :title => 'event-name' %ul.mini-stats - %li= "#{pluralize event.sold, 'ticket'} sold" - %li= "#{pluralize event.on_sale, 'ticket'} on sale" - %li= "#{number_as_cents(event.sales_total)} total sales" + %li= "#{pluralize event.glance.sold.total, 'ticket'} sold" + %li= "#{pluralize event.glance.available.total, 'ticket'} on sale" + %li= "#{number_as_cents(event.glance.sales.total)} total sales" -if @events.blank? .no-image#add-a-description #text =link_to 'Create a new event', new_event_path %p Creating an event is the first step toward scheduling shows and selling tickets. -else = link_to "Create Event", new_event_path, :class => "btn btn-primary" %span.pull-right - =icon_link_to("View All Events", events_path, 'fa-arrow-right', 'btn', '') + =icon_link_to("View All Events", events_path, 'icon-arrow-right', 'btn', '') .span8 =render :partial => 'recent_activity'