Skip to content

Commit

Permalink
Inserts and styles disclaimer in copyright card. (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatson78 committed Apr 16, 2020
1 parent fd53997 commit d737d64
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/lux.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
@import 'lux/colors';
@import 'lux/constraint_button';
@import 'lux/constraints';
@import 'lux/copyright_card';
@import 'lux/error_body';
@import 'lux/explore_collections';
@import 'lux/facets';
Expand Down
5 changes: 5 additions & 0 deletions app/assets/stylesheets/lux/_copyright_card.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
@import 'variables';

p.copyright-dislaimer {
font-style: italic;
}
1 change: 1 addition & 0 deletions app/views/catalog/_access_and_copyright_block.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
<dt class="blacklight-<%= field_name.parameterize %>"><%= render_document_show_field_label document, field: field_name %></dt>
<dd class="blacklight-<%= field_name.parameterize %>"><%= doc_presenter.field_value field %></dd>
<% end %>
<p class="copyright-dislaimer">Emory Libraries provides copyright information as a courtesy and makes no representation about copyright or other legal status of materials in its digital collections.</p>
</dl>
</div>
</div>
Expand Down
1 change: 1 addition & 0 deletions spec/system/view_work_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@
expect(page).to have_content('Copyright Date:')
expect(page).to have_content('Re-Use License:')
expect(page).to have_content('Access Restrictions:')
expect(page).to have_content('Emory Libraries provides copyright information as a courtesy and makes no representation about copyright or other legal status of materials in its digital collections.')
end

it 'has all correct metadata values' do
Expand Down

0 comments on commit d737d64

Please sign in to comment.