Sha256: 7cbb537a4eb2f6e941a5e920e57ea9f9ae47ad3c159410fdc254f8d38ef1d282

Contents?: true

Size: 817 Bytes

Versions: 2

Compression:

Stored size: 817 Bytes

Contents

#if($response.facetFields.size() > 0)
  #foreach($field in $response.facetFields)
    #if($field.values.size() > 0)
        #if($engine.resourceExists("facet_${field.name}.vm"))
          #parse("facet_${field.name}.vm")
        #else
          <div id="facet_$field.name" class="facet_field">
            <span class="facet-field">#label("facet.${field.name}",$field.name)</span><br/>

            <ul>
              #foreach($facet in $field.values)
                <li><a href="#url_for_facet_filter($field.name, $facet.name)">#if($facet.name!=$null)#label("${field.name}.${facet.name}","${field.name}.${facet.name}")#else<em>missing</em>#end</a> ($facet.count)</li>
              #end
            </ul>
          </div>
        #end
    #end
  #end ## end if field.values > 0
#end  ## end if facetFields > 0





Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-citeproc-0.2.0 .internal_test_app/solr/conf/velocity/facets.vm
blacklight-citeproc-0.1.0 .internal_test_app/solr/conf/velocity/facets.vm