Skip to content

Commit

Permalink
Add depositor name to published tab (#577)
Browse files Browse the repository at this point in the history
  • Loading branch information
labradford authored Jun 15, 2023
1 parent 4857db4 commit 43c01c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/views/hyrax/admin/workflows/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@
<%= link_to document, [main_app, document] %>
</td>
<td>
<%= safe_join(document.creator, tag(:br)) %>
<%# OVERRIDE: show the user/depositor's display_name if available %>
<% user = User.find_by(email: document.depositor) %>
<%= user&.display_name.presence %>
<td>
<%= document.date_modified %>
</td>
Expand Down

0 comments on commit 43c01c6

Please sign in to comment.