Sha256: 4ca7233284fcc1ee660a5de4225e0dd378dd7c2a6694c318511ffa2691b5501d

Contents?: true

Size: 629 Bytes

Versions: 5

Compression:

Stored size: 629 Bytes

Contents

<div class="item_az_links well well-sm">
  <%= content_tag(:span,
                  az_label,
                  :class => 'az_label') %>
  <%= link_to 'All', send(az_link_path), :class => 'az_link' %>
  <% ('A'..'Z').each do |letter| %>
      <% if az_exclude.include? letter %>
          <%= content_tag(:span, letter, :class => 'az_nolink') %>
      <% elsif params[:q] && params[:q].match(/ssort:#{letter}\*/) %>
          <%= content_tag(:span, letter, :class => 'az_active') %>
      <% else %>
          <%= link_to_az_value(letter, 'title_info_primary_ssort', az_link_path, 'az_link') %>
      <% end %>
  <% end %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
commonwealth-vlr-engine-0.0.7 app/views/catalog/_az_links.html.erb
commonwealth-vlr-engine-0.0.4 app/views/catalog/_az_links.html.erb
commonwealth-vlr-engine-0.0.3 app/views/catalog/_az_links.html.erb
commonwealth-vlr-engine-0.0.2 app/views/catalog/_az_links.html.erb
commonwealth-vlr-engine-0.0.1 app/views/catalog/_az_links.html.erb