Skip to content

Commit

Permalink
Open request form links in new tabs (#2428)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer authored May 7, 2024
1 parent 7e5b701 commit 2ea51ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/patron_requests/_request_preferences.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<% if f.object.holdable_recallable_items.any? %>
<fieldset class="mb-4 p-3 pb-0">
<legend class="fs-6 required-label">Select processing method <a href="https://library.stanford.edu/services/borrow-and-request#request" class="ms-2"><i class="bi bi-box-arrow-up-right"></i> Learn more</a>
<legend class="fs-6 required-label">Select processing method <a href="https://library.stanford.edu/services/borrow-and-request#request" class="ms-2" target="_blank"><i class="bi bi-box-arrow-up-right"></i> Learn more <span class="visually-hidden">about request services</span></a>
</legend>
<div class="mt-2 form-check">
<%= f.radio_button :fulfillment_type, 'recall', class: 'form-check-input', required: true %>
Expand Down
2 changes: 1 addition & 1 deletion app/views/patron_requests/_user_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
however, your borrowing privileges will remain suspended until <%= current_user.patron.fix_block_message %>.
</div>
<div>
<%= link_to 'https://mylibrary.stanford.edu' do %>
<%= link_to 'https://mylibrary.stanford.edu', target: '_blank' do %>
<i class="bi bi-box-arrow-up-right"></i> Learn more at My Library Account
<% end %>
</div>
Expand Down

0 comments on commit 2ea51ef

Please sign in to comment.