Sha256: 51ac6391cb504080ffec3d5c1b50d77736e4f48092a3ba008025046a67cbc3ff

Contents?: true

Size: 579 Bytes

Versions: 1

Compression:

Stored size: 579 Bytes

Contents

- if controller.controller_name == "shows" && controller.action_name == "show"
  %h3 Show Details
- else
  %h3 At a Glance
- if report.nil?
  %p Report not yet available.
- else
  %table.table.table-condensed
    %tbody
      %tr
        %td State
        %td
        %td.show-state{:width => 100, :style => 'text-transform:capitalize;'}= show.state
      %tr
        %td Sold
        %td= number_as_cents(report.sales_total)
        %td="#{report.sold_total} tickets"
  
  .pull-right
    =icon_link_to("View Complete Statement", statement_path(show.id), 'icon-th-list', '', '')

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
artfully_ose-1.2.0.pre.23 app/views/shows/_glance.html.haml