Sha256: 69ee78344f2e4b2a7bcd36820f1bbc5df56441972214fd41fabe93f774789aa3

Contents?: true

Size: 1.29 KB

Versions: 2

Compression:

Stored size: 1.29 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
      .span2
        %h3 Shows
      .span10
        =icon_link_to("Add", new_event_show_path(@event, @show), 'icon-plus-sign', 'btn', '')
    %table.table
      %thead
        %th Date/Time
        %th
        %th On sale
        %th Sold
        %th Comped
      %tbody
        -if @shows.empty?
          %tr
            %td{:colspan => 5}
              .no-image.full
                #text
                  =link_to 'You have no shows scheduled.  Add one now.', new_event_show_path(@event, @show)
        -@shows.each do |show|
          %tr{ :class => [show.state, show.destroyable? ? "destroyable" : "" ] }
            %td
              =link_to l(show.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.available_value= show.glance.available_total
            %td.gross_value= show.glance.sold_total
            %td.comped_value= show.glance.comped_total
                  

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
artfully_ose-1.0.0.rc4 app/views/shows/index.html.haml
artfully_ose-1.0.0.rc3 app/views/shows/index.html.haml