Skip to content

Commit e2b5fde

Browse files
authored
Merge pull request #35 from IUBLibTech/IULRDC-38_Add_markdown_to_contact_field
[IULRDC-38] Add markdown to Contact field
2 parents 171b312 + b15d452 commit e2b5fde

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/hyrax/base/_attribute_rows.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<%= presenter.attribute_to_html(:creator, label: 'Creator', html_dl: true) %>
1010
<%= presenter.attribute_to_html(:location_physical, label: 'Data Location', html_dl: true) %>
1111
<%= presenter.attribute_to_html(:digital_specifications, label: 'File Format(s)', html_dl: true) %>
12-
<%= presenter.attribute_to_html(:expert, label: 'Public Contact', html_dl: true) %>
12+
<%= presenter.attribute_to_html(:expert, label: 'Public Contact', render_as: :markdown, html_dl: true) %>
1313
<%= presenter.attribute_to_html(:holding_location, label: 'Hosting Unit', render_as: :faceted, html_dl: true) %>
1414
<%= presenter.attribute_to_html(:campus, label: 'Campus', render_as: :campus, html_dl: true) %>
1515
<%= presenter.attribute_to_html(:rights_statement, label: 'Access Restrictions', render_as: :faceted, html_dl: true) %>

config/locales/hyrax.en.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ en:
5858
description: 'Provide an abstract- or paragraph-length description of the dataset. This description should be longer than the one-sentence that will show up on the search results page, and will show up on the dataset page. You may use basic Markdown for formatting and/or hyperlinks (https://www.markdownguide.org/cheat-sheet/#basic-syntax)'
5959
location_physical: 'List the location(s) where the data are stored, e.g. "Cloud," "Slate Project"'
6060
digital_specifications: 'List the format(s) of data files. Example: CSV, SAS, text'
61-
expert: 'Provide the name and email of person or people to reach out to for questions about the dataset, formatted as follows: John Doe (jdoe@iu.edu).'
61+
expert: 'Provide the name and email of person or people to reach out to for questions about the dataset, formatted as follows: John Doe (jdoe@iu.edu). You may use basic Markdown for formatting and/or hyperlinks (https://www.markdownguide.org/cheat-sheet/#basic-syntax)'
6262
holding_location: 'Provide the campus unit(s) hosting the dataset, such as the school, department, or institute that purchased the dataset and/or is facilitating access.'
6363
source_identifier: # (N/A - source identifier is the unique identifier for the data catalog, so nothing for depositors to enter? Confirm that this is correct.)
6464
source : # (Same as above)

0 commit comments

Comments
 (0)