Skip to content

Commit

Permalink
Merge pull request #839 from sul-dlss/fix-markup
Browse files Browse the repository at this point in the history
Fix markup
  • Loading branch information
justinlittman authored Nov 30, 2023
2 parents 63e5e00 + 1568476 commit fabd4ef
Showing 1 changed file with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions app/views/purl/_metrics.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,20 @@
<div class="metrics section">
<div class="section-heading">
<h2>Usage metrics</h2>
<div>
<div class="section-body">
<% if document.metrics.present? %>
<dl>
<dt>Views</dt>
<dd><%= number_with_delimiter document.metrics['unique_views'] %></dd>
</dl>
<% else %>
<p>No usage metrics available.</p>
<% end %>
<p>
Data collected since 11/20/23.
<a href="https://sdr.library.stanford.edu/sdr-metrics">How are these metrics generated?</a>
</p>
</div>
</div>
</div>
<div class="section-body">
<% if document.metrics.present? %>
<dl>
<dt>Views</dt>
<dd><%= number_with_delimiter document.metrics['unique_views'] %></dd>
</dl>
<% else %>
<p>No usage metrics available.</p>
<% end %>
<p>
Data collected since 11/20/23.
<a href="https://sdr.library.stanford.edu/sdr-metrics">How are these metrics generated?</a>
</p>
</div>
</div>
</turbo-frame>

0 comments on commit fabd4ef

Please sign in to comment.