Sha256: 59547a8345059ef6cf5153fab3efc50aa523c30ced2a9c657ab536cc344213ad

Contents?: true

Size: 696 Bytes

Versions: 5

Compression:

Stored size: 696 Bytes

Contents

<dt>
  <%= t("txt.views.search_results.search_term_in_results") %>: <%= result[:query] %><br>
  Ergebnisse:<br>
  <span style="font-weight: normal">
    <% if result[:result].blank? %>
      <%= t("txt.views.search_results.no_results") %>
    <% else %>
      <% result[:result].group_by{|i| i.label}.each do |key, value| %>
        <% concept = key.concepts_for_labeling_class(Labeling::SKOSXL::PrefLabel).try(:first) %>
        <% concept_path = concept ? concept_path(:id => concept.origin) : '' %>
        <%= link_to(key.value, label_path(:id => key), :data => { 'pref-label-for' => concept_path }) %> (<%= value.map(&:value).join(", ") %>)<br>
      <% end %>
    <% end %>
  </span>
</dt>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
iqvoc_inflectionals-2.11.4 app/views/partials/inflectional/_search_result.html.erb
iqvoc_inflectionals-2.11.3 app/views/partials/inflectional/_search_result.html.erb
iqvoc_inflectionals-2.9.0 app/views/partials/inflectional/_search_result.html.erb
iqvoc_inflectionals-2.8.0 app/views/partials/inflectional/_search_result.html.erb
iqvoc_inflectionals-2.5.0 app/views/partials/inflectional/_search_result.html.erb