diff --git a/app/assets/stylesheets/partials/_results.scss b/app/assets/stylesheets/partials/_results.scss
index 080497cc..fe31c072 100644
--- a/app/assets/stylesheets/partials/_results.scss
+++ b/app/assets/stylesheets/partials/_results.scss
@@ -107,6 +107,7 @@
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
+ text-overflow: ellipsis;
}
.inner-heading {
diff --git a/app/assets/stylesheets/partials/_shared.scss b/app/assets/stylesheets/partials/_shared.scss
index 01ca5628..5957be41 100644
--- a/app/assets/stylesheets/partials/_shared.scss
+++ b/app/assets/stylesheets/partials/_shared.scss
@@ -1,9 +1,18 @@
.result,
.full-record {
- .authors {
+ .contributors {
font-size: 1.6rem;
font-weight: $fw-bold;
margin-bottom: 0.6em;
+ li {
+ display: inline;
+ }
+ li::after {
+ content: " ; ";
+ }
+ li:last-child:after {
+ content: "";
+ }
}
.data-info {
diff --git a/app/views/record/_record_geo.html.erb b/app/views/record/_record_geo.html.erb
index ee9e004e..aa247a62 100644
--- a/app/views/record/_record_geo.html.erb
+++ b/app/views/record/_record_geo.html.erb
@@ -14,9 +14,10 @@
<% if @record['contributors'].present? %>
-
- <%= render partial: 'shared/authors', locals: { contributors: @record['contributors'] } %>
-
+ Contributors:
+
+ <%= render partial: 'shared/contributors', locals: { contributors: @record['contributors'] } %>
+
<% end %>
<% if @record['alternateTitles'].present? %>
diff --git a/app/views/search/_result.html.erb b/app/views/search/_result.html.erb
index 310e78d7..184b6912 100644
--- a/app/views/search/_result.html.erb
+++ b/app/views/search/_result.html.erb
@@ -12,9 +12,10 @@
-
- <%= render partial: 'shared/authors', locals: { contributors: result['contributors'] } %>
-
+ Contributors:
+
+ <%= render partial: 'shared/contributors', locals: { contributors: result['contributors'] } %>
+
<%= render partial: 'search/highlights', locals: { result: result } %>
diff --git a/app/views/search/_result_geo.html.erb b/app/views/search/_result_geo.html.erb
index a6b9f4b8..fd60331c 100644
--- a/app/views/search/_result_geo.html.erb
+++ b/app/views/search/_result_geo.html.erb
@@ -8,9 +8,10 @@
<% if result_geo['contributors'] %>
-
- <%= render partial: 'shared/authors', locals: { contributors: result_geo['contributors'] } %>
-
+ Contributors:
+
+ <%= render partial: 'shared/contributors', locals: { contributors: result_geo['contributors'] } %>
+
<% end %>
<% if result_geo['summary'] %>
diff --git a/app/views/shared/_contributors.html.erb b/app/views/shared/_contributors.html.erb
new file mode 100644
index 00000000..9e0cf346
--- /dev/null
+++ b/app/views/shared/_contributors.html.erb
@@ -0,0 +1,5 @@
+<%= return if contributors.blank? %>
+
+<% contributors.uniq do |contributor| %>
+ <%= link_to contributor['value'], results_path({ advanced: true, contributors: contributor['value'] }) %>
+<% end %>