Skip to content

Commit

Permalink
Merge pull request #13 from IUBLibTech/iulrdc-20_metadata_width_rev1
Browse files Browse the repository at this point in the history
modify classes for catalog metadata display
  • Loading branch information
dlpierce authored Nov 8, 2024
2 parents 9196801 + 53331ef commit 8124d30
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/catalog/_index_list_default.html.erb
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<div class="col-md-12 col-lg-3">
<div class="col-12">
<div class="metadata">
<dl>
<% doc_presenter = index_presenter(document) %>
<% index_fields(document).each do |field_name, field| -%>
<% if should_render_index_field? document, field %>
<div class="row">
<dt class="col-5 text-right" data-solr-field-name="<%= field_name %>"><%= render_index_field_label document, field: field_name %></dt>
<dd class="col-7"><%= doc_presenter.field_value field %></dd>
<dt class="col-3 text-right" data-solr-field-name="<%= field_name %>"><%= render_index_field_label document, field: field_name %></dt>
<dd class="col-9"><%= doc_presenter.field_value field %></dd>
</div>
<% end %>
<% end %>
Expand Down

0 comments on commit 8124d30

Please sign in to comment.