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

Open request form links in new tabs #2428

Merged
merged 1 commit into from
May 7, 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
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