Sha256: e43c9d63fb4e56b709a494b07d0e7823b7b3f9442b66a8fe4544036047ddad42
Contents?: true
Size: 1.19 KB
Versions: 1
Compression:
Stored size: 1.19 KB
Contents
- content_for :header do %h1= "Pass Types" .row.bottom-room .pull-right =icon_link_to("New Pass Type", new_pass_type_path, 'icon-plus', 'btn','') =link_to "Download CSV", pass_types_path(:format => "csv"), :class => "btn" %table.table#pass-types-table %tr %th Name %th Starts %th Ends %th.right Passes Sold %th.right # Tickets %th.right Price %th.right Visibility %th.right -@pass_types.each do |pass_type| %tr %td=link_to pass_type.name, edit_pass_type_path(pass_type) %td=l pass_type.starts_at, :format => :slashed_date %td=l pass_type.ends_at, :format => :slashed_date %td.right=pass_type.passes.count %td.right=pass_type.tickets_allowed %td.right=number_as_cents pass_type.price %td.right %a{:href => "#", :class => "artfully-tooltip", :rel => "tooltip", "data-original-title" => "This pass is currently #{"not" unless pass_type.on_sale?} visible in your online Storefront.", "data-trigger" => "hover"} %span.badge{:class => "#{'badge-success' if pass_type.on_sale?}"}="S" %td.right = link_to('Store link', store_pass_path(current_user.current_organization.cached_slug, pass_type))
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
artfully_ose-1.2.0.pre.23 | app/views/pass_types/index.html.haml |