Sha256: f962a87e7d23a57452f29a9df63012bbf3822093dbf4b805aecc73ebe6c3883b
Contents?: true
Size: 1.17 KB
Versions: 18
Compression:
Stored size: 1.17 KB
Contents
%table.table#ticket-type-table -section.ticket_types.each do |ticket_type| %tr %td{:style => 'width: 30px'} %ul.nav.in-table %li.dropdown{:id => "#menu#{ticket_type.id}"} =icon_link_to(' ', "#menu#{ticket_type.id}", 'icon-asterisk', 'dropdown-toggle dropdown btn btn-mini', '') %ul.dropdown-menu %li =link_to "Edit", edit_ticket_type_path(ticket_type.id, :format => :html), 'data-remote' => 'true', :class => 'add-new-ticket-type-link' %td - ticket_type.channels.each do |channel, icon| %a{:href => "#", :class => "artfully-tooltip", :rel => "tooltip", "data-original-title" => "This ticket type is #{"not" unless ticket_type.send(channel)} shown in your #{channel_text channel}", "data-trigger" => "hover"} %span.badge{:class => "#{'badge-success' if ticket_type.send(channel)}"}=icon %td %strong=truncate(ticket_type.name, :length => 20, :separator => ' ', :omission => '...') %td="#{number_as_cents ticket_type.price}" %td="#{ticket_type.limit_to_s}" %td="#{ticket_type.sold.length} sold" %td="#{ticket_type.comped.length} comp"
Version data entries
18 entries across 18 versions & 1 rubygems