Sha256: 7a8f0552bc85551241a2ed6471705cfdd1b4b19c5151a619a1baa7c256e96c81

Contents?: true

Size: 712 Bytes

Versions: 12

Compression:

Stored size: 712 Bytes

Contents

<% unless @relations.empty? %>
  <% unless @relations.ancestors['numFound'].to_i.zero? %>
    <div class="card relations">
      <div class="card-header">
        <h2 class="mb-0 h6"><%= t('geoblacklight.relations.ancestor') %></h2>
      </div>

      <ul class="list-group list-group-flush">
        <%= render 'ancestors' %>
      </ul>
    </div>
  <% end %>

  <% unless @relations.descendants['numFound'].to_i.zero? %>
    <div class="card relations">
      <div class="card-header">
        <h2 class="mb-0 h6"><%= t('geoblacklight.relations.descendant') %></h2>
      </div>

      <ul class="list-group list-group-flush">
        <%= render 'descendants' %>
      </ul>
    </div>
  <% end %>
<% end %>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
geoblacklight-3.8.1 app/views/relation/index.html.erb
geoblacklight-3.8.0 app/views/relation/index.html.erb
geoblacklight-3.7.0 app/views/relation/index.html.erb
geoblacklight-3.6.0 app/views/relation/index.html.erb
geoblacklight-3.5.0 app/views/relation/index.html.erb
geoblacklight-3.4.0 app/views/relation/index.html.erb
geoblacklight-3.3.1 app/views/relation/index.html.erb
geoblacklight-3.3.0 app/views/relation/index.html.erb
geoblacklight-3.2.0 app/views/relation/index.html.erb
geoblacklight-3.1.0 app/views/relation/index.html.erb
geoblacklight-3.0.1 app/views/relation/index.html.erb
geoblacklight-3.0.0 app/views/relation/index.html.erb