Sha256: ee0e99d535709d516c8fc4b4f64991a64efd6fc774aaaafc310bc0df64811583

Contents?: true

Size: 615 Bytes

Versions: 3

Compression:

Stored size: 615 Bytes

Contents

%li.facet{:id => "facet_"+facet.id.to_s }
  .caption{:class => facet.color}
    =facet.caption
    -if user_signed_in?
      =link_to image_tag("fassets_core/edit.png"), edit_catalog_facet_path(@catalog, facet)
      %span.handle=image_tag("fassets_core/drag.png")
  %ul{:class => "#{facet.color}_lite"}
    -facet.ordered_labels.each do |label|
      -if @counts[label.id] && !@filter.include?(label.id)
        %li.label
          =link_to label.caption, catalog_path(@catalog, :filter => @filter.to_query_include(label.id))
          -if @counts[label.id] > 1
            %span.count="#{@counts[label.id]}&#215"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
fassets_core-0.4.0 app/views/catalogs/_facet.html.haml
fassets_core-0.3.1 app/views/catalogs/_facet.html.haml
fassets_core-0.3.0 app/views/catalogs/_facet.html.haml