app/views/segments/show.html.haml in artfully_ose-1.2.0.pre.19 vs app/views/segments/show.html.haml in artfully_ose-1.2.0.pre.20
- old
+ new
@@ -10,20 +10,23 @@
.span4
%h3 Details
.details-long= @segment.description.html_safe
%ul.in-table
- %li.dropdown{:id => "#menu#bulkactions"}
+ %li.dropdown#bulkactions
=icon_link_to('Work with...', "#menu#bulkactions", 'icon-asterisk', 'dropdown-toggle dropdown btn', '')
%ul.dropdown-menu
%li
=link_to "Tag all", "#tag-modal", 'data-toggle' => 'modal', :rel => "tooltip", :data => {:toggle => "modal", "original-title" => "Give all of the people in this list segment the same tag.", :trigger => "hover", :placement => "right"}
%li
=link_to "Log action", "#bulk-action-modal", :id => 'bulk-action-link', 'data-toggle' => 'modal'
%li
= link_to "Delete this list segment", @segment, :method => :delete, :data => {:confirm => "Are you sure you want to delete #{@segment.name}?"}
%li
= link_to 'Export all to CSV', segment_path(@segment, :format => :csv), :class => "artfully-tooltip", :rel => "tooltip", :data => {"original-title" => "To view all the data on patrons in this segment, including mailing address and phone numbers, export this segment to a CSV file.", :trigger => "hover", :placement => "right"}
+ -with_kit(:membership) do
+ %li
+ =link_to "Comp memberships", new_segment_membership_comp_path(@segment), :id => 'comp-memberships-link'
.span8
%table.table.people-list
%tbody
- @people.each do |person|
\ No newline at end of file