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

Version Path
artfully_ose-1.2.0.pre.19 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.18 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.17 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.16 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.15 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.12 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.11 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.10 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.9 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.8 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.7 app/views/shows/index.html.haml
artfully_ose-1.2.0.pre.6 app/views/shows/index.html.haml