Skip to content

Commit

Permalink
Merge pull request #645 from CDLUC3/bug/user-profile
Browse files Browse the repository at this point in the history
updated 2 partials to use the newer dmp_id_for_display helper function.
  • Loading branch information
briri authored Aug 19, 2024
2 parents 3598e7f + ccddee1 commit 68606b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions app/views/paginable/plans/_index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,7 @@
<% if has_dmp_id %>
<td>
<% if plan.dmp_id.present? %>
<a href="<%= plan.dmp_id.value %>" target="_blank" class="has-new-window-popup-info">
<%= id_for_display(id: plan.dmp_id, with_scheme_name: false).html_safe %>
</a>
<%= dmp_id_for_display(dmp_id: plan.dmp_id, without_prefix: true).html_safe %>
<% end %>
</td>
<% end %>
Expand Down
4 changes: 1 addition & 3 deletions app/views/paginable/plans/_org_admin.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,7 @@
<% if has_dmp_id %>
<td>
<% if plan.dmp_id.present? %>
<a href="<%= plan.dmp_id.value %>" target="_blank" class="has-new-window-popup-info">
<%= id_for_display(id: plan.dmp_id, with_scheme_name: false).html_safe %>
</a>
<%= dmp_id_for_display(dmp_id: plan.dmp_id, without_prefix: false).html_safe %>
<% end %>
</td>
<% end %>
Expand Down

0 comments on commit 68606b9

Please sign in to comment.