Sha256: 5000866b93fa1d5b55f0c62295f85274c19152e01a34471002fba6eb468886c7
Contents?: true
Size: 1.21 KB
Versions: 3
Compression:
Stored size: 1.21 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 - TicketType.channels_for(current_user.current_organization).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
3 entries across 3 versions & 1 rubygems