Sha256: ad14dd1db8f7415604e01a60bfd81f39240cbfbb366b91d766fda567dae11fc7

Contents?: true

Size: 932 Bytes

Versions: 38

Compression:

Stored size: 932 Bytes

Contents

<%# This view is overridden to change the alt attribute to be a title in the link_to below in order to conform to the HTML5 validity standard.  This should ultimately be fixed in Blacklight.  -%>
<%- # local params:
    # label 
    # value
    # options =>
    #   :remove => url for a remove constraint link
    #   :classes => array of classes to add to container span
    options ||= {}
    options[:escape_label] = true unless options.has_key?(:escape_label)
    options[:escape_value] = true unless options.has_key?(:escape_value)
-%>

<span class="appliedFilter constraint <%= options[:classes].join(" ") if options[:classes] %>"> 
      <%- unless label.blank? -%>
        <span class="filterName"><%= options[:escape_label] ? h(label) : label %>:</span> 
      <%- end -%>
      <%- unless value.blank? -%>
        <span class="filterValue"><%= options[:escape_value] ? h(value) : value %></span>
      <%- end -%>
</span>

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
sufia-4.0.0.beta2 app/views/catalog/_constraints_element.html.erb
sufia-4.0.0.beta1 app/views/catalog/_constraints_element.html.erb
sufia-3.7.2 app/views/catalog/_constraints_element.html.erb
sufia-3.7.1 app/views/catalog/_constraints_element.html.erb
sufia-3.7.0 app/views/catalog/_constraints_element.html.erb
sufia-3.6.1 app/views/catalog/_constraints_element.html.erb
sufia-3.6.0 app/views/catalog/_constraints_element.html.erb
sufia-3.5.0 app/views/catalog/_constraints_element.html.erb
sufia-3.4.0 app/views/catalog/_constraints_element.html.erb
sufia-3.4.0.rc4 app/views/catalog/_constraints_element.html.erb
sufia-3.4.0.rc3 app/views/catalog/_constraints_element.html.erb
sufia-3.3.1 app/views/catalog/_constraints_element.html.erb
sufia-3.4.0.rc2 app/views/catalog/_constraints_element.html.erb
sufia-3.4.0.rc1 app/views/catalog/_constraints_element.html.erb
sufia-3.3.0 app/views/catalog/_constraints_element.html.erb
sufia-3.2.1 app/views/catalog/_constraints_element.html.erb
sufia-3.1.3 app/views/catalog/_constraints_element.html.erb
sufia-3.1.2 app/views/catalog/_constraints_element.html.erb
sufia-3.1.1 app/views/catalog/_constraints_element.html.erb
sufia-3.1.0 app/views/catalog/_constraints_element.html.erb