Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaces catalog_search_link: true with render_as: :linked from CC.Up…
…dates :rights with render_as: rights.Uses :faceted for Sufia and renders the correct metadata links.Updates :identifier, :date_created to use linked search_field and :related_url to just link out to the web page.
- Loading branch information
mtribone
committed
Jun 8, 2016
1 parent
4f81ec9
commit 18f2999
Showing
2 changed files
with
11 additions
and
11 deletions.
There are no files selected for viewing
20 changes: 10 additions & 10 deletions
20
app/views/curation_concerns/base/_attribute_rows.html.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<%= presenter.attribute_to_html(:creator, catalog_search_link: true ) %> | ||
<%= presenter.attribute_to_html(:contributor, label: 'Contributors', catalog_search_link: true) %> | ||
<%= presenter.attribute_to_html(:subject, catalog_search_link: true) %> | ||
<%= presenter.attribute_to_html(:publisher) %> | ||
<%= presenter.attribute_to_html(:language) %> | ||
<%= presenter.attribute_to_html(:identifier) %> | ||
<%= presenter.attribute_to_html(:keyword) %> | ||
<%= presenter.attribute_to_html(:date_created) %> | ||
<%= presenter.attribute_to_html(:based_near) %> | ||
<%= presenter.attribute_to_html(:creator, render_as: :faceted ) %> | ||
<%= presenter.attribute_to_html(:contributor, label: 'Contributors', render_as: :faceted) %> | ||
<%= presenter.attribute_to_html(:subject, render_as: :faceted ) %> | ||
<%= presenter.attribute_to_html(:publisher, render_as: :faceted ) %> | ||
<%= presenter.attribute_to_html(:language, render_as: :faceted ) %> | ||
<%= presenter.attribute_to_html(:identifier, render_as: :linked, search_field: 'identifier_tesim') %> | ||
<%= presenter.attribute_to_html(:keyword, render_as: :faceted ) %> | ||
<%= presenter.attribute_to_html(:date_created, render_as: :linked, search_field: 'date_created_tesim' ) %> | ||
<%= presenter.attribute_to_html(:based_near, render_as: :faceted ) %> | ||
<%= presenter.attribute_to_html(:related_url) %> | ||
<%= presenter.attribute_to_html(:resource_type) %> | ||
<%= presenter.attribute_to_html(:resource_type, render_as: :faceted ) %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters