| 
      
            Lines 39-56
          
      
      
        Link Here
      
     | 
  
        
          | 39 | 
                          [% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])</li>[% END %]  | 
          39 | 
                          [% IF ( related ) %] <li>(related searches: [% FOREACH relate IN related %][% relate.related_search | html %][% END %])</li>[% END %]  | 
        
        
          | 40 | 
                      </li>  | 
          40 | 
                      </li>  | 
        
        
          | 41 | 
           | 
          41 | 
           | 
        
            
              | 42 | 
                          [% SET more_less_labels = {} %] | 
               | 
               | 
            
            
              | 43 | 
                          [% more_less_labels.Authors         = { more = t("Show more authors"),           less = t("Show fewer authors") }           %] | 
            
            
              | 44 | 
                          [% more_less_labels.Titles          = { more = t("Show more titles"),            less = t("Show fewer titles") }            %] | 
            
            
              | 45 | 
                          [% more_less_labels.Topics          = { more = t("Show more topics"),            less = t("Show fewer topics") }            %] | 
            
            
              | 46 | 
                          [% more_less_labels.Places          = { more = t("Show more places"),            less = t("Show fewer places") }            %] | 
            
            
              | 47 | 
                          [% more_less_labels.Series          = { more = t("Show more series"),            less = t("Show fewer series") }            %] | 
            
            
              | 48 | 
                          [% more_less_labels.ItemTypes       = { more = t("Show more item types"),        less = t("Show fewer item types") }        %] | 
            
            
              | 49 | 
                          [% more_less_labels.CollectionCodes = { more = t("Show more collections"),       less = t("Show fewer collections") }       %] | 
            
            
              | 50 | 
                          [% more_less_labels.Language        = { more = t("Show more languages"),         less = t("Show fewer languages") }         %] | 
            
            
              | 51 | 
                          [% more_less_labels.HomeLibrary     = { more = t("Show more home libraries"),    less = t("Show fewer home libraries") }    %] | 
            
            
              | 52 | 
                          [% more_less_labels.HoldingLibrary  = { more = t("Show more holding libraries"), less = t("Show fewer holding libraries") } %] | 
            
            
              | 53 | 
                          [% more_less_labels.Location        = { more = t("Show more locations"),         less = t("Show fewer locations") }         %] | 
            
        
          | 54 | 
                      [% FOREACH facets_loo IN facets_loop %]  | 
          42 | 
                      [% FOREACH facets_loo IN facets_loop %]  | 
        
        
          | 55 | 
                          [% IF facets_loo.facets.size > 0 %]  | 
          43 | 
                          [% IF facets_loo.facets.size > 0 %]  | 
        
        
          | 56 | 
                              <li id="[% facets_loo.type_id | html %]">  | 
          44 | 
                              <li id="[% facets_loo.type_id | html %]">  | 
        
  
    | 
      
            Lines 114-130
          
      
      
        Link Here
      
     | 
  
        
          | 114 | 
                                      [% END %]  | 
          102 | 
                                      [% END %]  | 
        
        
          | 115 | 
                                      [% IF facets_loo.facets.size > 5 %]  | 
          103 | 
                                      [% IF facets_loo.facets.size > 5 %]  | 
        
        
          | 116 | 
                                          <li class="moretoggle">  | 
          104 | 
                                          <li class="moretoggle">  | 
        
          
            
              | 117 | 
                                                  [% FOR label IN more_less_labels.keys %]  | 
              105 | 
                                                  [% SET aria_label = '' %]  | 
            
            
              | 118 | 
                                                      [% IF facets_loo.item('type_label_' _ label) %] | 
              106 | 
                                                  [% SWITCH facets_loo.label %]  | 
            
            
              | 119 | 
                                                          <a href="#" aria-label="[% more_less_labels.item(label).more | html | trim %]"><strong>Show more</strong></a>  | 
              107 | 
                                                  [% CASE 'Authors' %]  | 
            
            
              | 120 | 
                                                      [% END %]  | 
              108 | 
                                                      [% aria_label = t("Show more authors") %] | 
            
            
               | 
               | 
              109 | 
                                                  [% CASE 'Titles' %]  | 
            
            
              | 110 | 
                                                      [% aria_label = t("Show more titles") %] | 
            
            
              | 111 | 
                                                  [% CASE 'Topics' %]  | 
            
            
              | 112 | 
                                                      [% aria_label = t("Show more topics") %] | 
            
            
              | 113 | 
                                                  [% CASE 'Places' %]  | 
            
            
              | 114 | 
                                                      [% aria_label = t("Show more places") %] | 
            
            
              | 115 | 
                                                  [% CASE 'Series' %]  | 
            
            
              | 116 | 
                                                      [% aria_label = t("Show more series") %] | 
            
            
              | 117 | 
                                                  [% CASE 'ItemTypes' %]  | 
            
            
              | 118 | 
                                                      [% aria_label = t("Show more item types") %] | 
            
            
              | 119 | 
                                                  [% CASE 'Home libraries' %]  | 
            
            
              | 120 | 
                                                      [% aria_label = t("Show more home libraries") %] | 
            
            
              | 121 | 
                                                  [% CASE 'Holding libraries' %]  | 
            
            
              | 122 | 
                                                      [% aria_label = t("Show more holding libraries") %] | 
            
            
              | 123 | 
                                                  [% CASE 'Location' %]  | 
            
            
              | 124 | 
                                                      [% aria_label = t("Show more home locations") %] | 
            
            
              | 125 | 
                                                  [% CASE 'Collections' %]  | 
            
            
              | 126 | 
                                                      [% aria_label = t("Show more home collections") %] | 
            
            
              | 127 | 
                                                  [% CASE 'Languages' %]  | 
            
            
              | 128 | 
                                                      [% aria_label = t("Show more home languages") %] | 
            
            
              | 129 | 
                                                  [% END %]  | 
            
            
              | 130 | 
               | 
            
            
              | 131 | 
                                                  [% IF aria_label %]  | 
            
            
              | 132 | 
                                                      <a href="#" aria-label="[% aria_label | html | trim %]"><strong>Show more</strong></a>  | 
            
        
          | 121 | 
                                              [% END %]  | 
          133 | 
                                              [% END %]  | 
        
        
          | 122 | 
                                          </li>  | 
          134 | 
                                          </li>  | 
        
        
          | 123 | 
                                          <li class="moretoggle" style="display:none">  | 
          135 | 
                                          <li class="moretoggle" style="display:none">  | 
        
          
            
              | 124 | 
                                                  [% FOR label IN more_less_labels.keys %]  | 
              136 | 
                                                  [% SET aria_label = '' %]  | 
            
            
              | 125 | 
                                                      [% IF facets_loo.item('type_label_' _ label) %] | 
              137 | 
                                                  [% SWITCH facets_loo.label %]  | 
            
            
              | 126 | 
                                                          <a href="#" aria-label="[% more_less_labels.item(label).less | html | trim %]"><strong>Show less</strong></a>  | 
              138 | 
                                                  [% CASE 'Authors' %]  | 
            
            
              | 127 | 
                                                      [% END %]  | 
              139 | 
                                                      [% aria_label = t("Show fewer authors") %] | 
            
            
               | 
               | 
              140 | 
                                                  [% CASE 'Titles' %]  | 
            
            
              | 141 | 
                                                      [% aria_label = t("Show fewer titles") %] | 
            
            
              | 142 | 
                                                  [% CASE 'Topics' %]  | 
            
            
              | 143 | 
                                                      [% aria_label = t("Show fewer topics") %] | 
            
            
              | 144 | 
                                                  [% CASE 'Places' %]  | 
            
            
              | 145 | 
                                                      [% aria_label = t("Show fewer places") %] | 
            
            
              | 146 | 
                                                  [% CASE 'Series' %]  | 
            
            
              | 147 | 
                                                      [% aria_label = t("Show fewer series") %] | 
            
            
              | 148 | 
                                                  [% CASE 'ItemTypes' %]  | 
            
            
              | 149 | 
                                                      [% aria_label = t("Show fewer item types") %] | 
            
            
              | 150 | 
                                                  [% CASE 'Home libraries' %]  | 
            
            
              | 151 | 
                                                      [% aria_label = t("Show fewer home libraries") %] | 
            
            
              | 152 | 
                                                  [% CASE 'Holding libraries' %]  | 
            
            
              | 153 | 
                                                      [% aria_label = t("Show fewer holding libraries") %] | 
            
            
              | 154 | 
                                                  [% CASE 'Location' %]  | 
            
            
              | 155 | 
                                                      [% aria_label = t("Show fewer home locations") %] | 
            
            
              | 156 | 
                                                  [% CASE 'Collections' %]  | 
            
            
              | 157 | 
                                                      [% aria_label = t("Show fewer home collections") %] | 
            
            
              | 158 | 
                                                  [% CASE 'Languages' %]  | 
            
            
              | 159 | 
                                                      [% aria_label = t("Show fewer home languages") %] | 
            
            
              | 160 | 
                                                  [% END %]  | 
            
            
              | 161 | 
               | 
            
            
              | 162 | 
                                                  [% IF aria_label %]  | 
            
            
              | 163 | 
                                                      <a href="#" aria-label="[% aria_label | html | trim %]"><strong>Show less</strong></a>  | 
            
        
          | 128 | 
                                              [% END %]  | 
          164 | 
                                              [% END %]  | 
        
        
          | 129 | 
                                          </li>  | 
          165 | 
                                          </li>  | 
        
        
          | 130 | 
                                      [% END %]  | 
          166 | 
                                      [% END %]  |