Skip to content

Commit

Permalink
fix logged out display of records and email for prod
Browse files Browse the repository at this point in the history
  • Loading branch information
orangewolf committed May 2, 2024
1 parent aa61a74 commit 446d900
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/hyrax/base/_member.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<td class="thumbnail">
<%= render_thumbnail_tag member, { alt: "file details" } %>
</td>
<% item_label = current_user.is_admin ? "#{member.link_name} (#{member&.solr_document&.sequence_number})" : member.link_name %>
<% item_label = current_user&.is_admin ? "#{member.link_name} (#{member&.solr_document&.sequence_number})" : member.link_name %>
<td class="attribute attribute-filename ensure-wrapped"><%= link_to(item_label, contextual_path(member, @presenter)) %></td>
<td class="attribute attribute-date_uploaded"><%= member.try(:date_uploaded) %></td>
<%# OVERRIDE: Hyrax v3.4.2 - Remove td for permission badge and actions render %>
Expand Down
2 changes: 1 addition & 1 deletion ops/production-deploy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ extraEnvVars: &envVars
- name: HYKU_BULKRAX_ENABLED
value: "true"
- name: HYKU_CONTACT_EMAIL
value: ut_LibDI_Admin@live.utk.edu
value: ut_LibDI_Admin@utk.edu
- name: HYKU_DEFAULT_HOST
value: "%{tenant}.lib.utk.edu"
- name: HYKU_ENABLED
Expand Down

0 comments on commit 446d900

Please sign in to comment.