Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated 2 partials to use the newer dmp_id_for_display helper function. #645

Merged
merged 1 commit into from
Aug 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 %>
briri marked this conversation as resolved.
Show resolved Hide resolved
<% 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
Loading