Sha256: c3c878eaeb842be98f2e18e2320b0403fe39fc0823dd4bc5f0c9fcd90944eba6
Contents?: true
Size: 1.57 KB
Versions: 12
Compression:
Stored size: 1.57 KB
Contents
- in_section :events - content_for :header do =render :partial=>'events/header' .row .span3 - in_sub_section :shows =render :partial=>'events/menu' .span9 = render "shared/error_messages", :target => @event .row-fluid .span12 .btn-group.pull-right =link_to "Upcoming", event_shows_path(@event), :class => "btn #{"active" if !@all}" =link_to "All", all_event_shows_path(@event), :class => "btn #{"active" if @all}" %table.table %thead %th{:colspan => 2} Date/Time %th %th.right On sale %th.right Sold %th.right Comped %tbody -if @shows.empty? %tr %td{:colspan => 6} .no-image.full #text =link_to 'You have no upcoming shows scheduled.', new_event_show_path(@event, @show) -@shows.each do |show| %tr.sprited-container{ :class => [show.state] } %td =link_to l(show.stats.datetime_local_to_event, :format => :abbreviated_day), event_show_path(@event, show), :title => 'show-datetime' %td =link_to l(show.stats.datetime_local_to_event, :format => :short), event_show_path(@event, show), :title => 'show-datetime' %td{:style => 'text-align:right'} =render :partial => "shows/controls", :locals => { :show => show } %td.right.available_value= show.stats.on_sale %td.right.gross_value= show.stats.sold %td.right.comped_value= show.stats.comped =will_paginate @shows
Version data entries
12 entries across 12 versions & 1 rubygems