Skip to content
This repository has been archived by the owner on Aug 5, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix-1.6.10'
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory Lown committed Apr 17, 2020
2 parents 2bceadb + 76db54f commit ca7d729
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 2 deletions.
7 changes: 7 additions & 0 deletions app/assets/stylesheets/dul_argon/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,10 @@ a:hover {
img.trln_request_icon {
margin-right: 0.4em;
}

.url-note {
background: #e6f3e7;
border-left: 4px solid #00830e;
padding: 5px 10px;
color: #00760d;
}
8 changes: 7 additions & 1 deletion app/views/hathitrust/etas.html.erb
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
<% unless etas_argon_url_hash.fetch(:href, nil).blank? && document.record_owner == 'duke' %>
<% unless etas_argon_url_hash.fetch(:href, nil).blank? %>
<div class="<%= primary_link_class %>">
<ul>
<li><%= link_to_fulltext_url(etas_argon_url_hash) %></li>
</ul>
<div class="etas-note-wrapper">
<dl class="dl-horizontal">
<dt><span class="url-note-label label label-info">Note</span></dt>
<dd><span class="url-note">View a version of this item available temporarily from HathiTrust.</span></dd>
</dl>
</div>
</div>
<div class="<%= items_spacer_class %>"></div>
<% end %>
14 changes: 14 additions & 0 deletions app/views/hathitrust/show.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<% unless hathitrust_argon_url_hash.fetch(:href, nil).blank? %>
<div class="<%= primary_link_class %>">
<ul>
<li><%= link_to_open_access(hathitrust_argon_url_hash) %></li>
</ul>
<div class="etas-note-wrapper">
<dl class="dl-horizontal">
<dt><span class="url-note-label label label-info">Note</span></dt>
<dd><span class="url-note">View a version of this item from HathiTrust.</span></dd>
</dl>
</div>
</div>
<div class="<%= items_spacer_class %>"></div>
<% end %>
2 changes: 1 addition & 1 deletion lib/dul_argon_skin/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module DulArgonSkin
VERSION = '1.6.9'
VERSION = '1.6.10'
end

0 comments on commit ca7d729

Please sign in to comment.