Skip to content

Commit

Permalink
update practice resource download partial
Browse files Browse the repository at this point in the history
edits styling to be more centered on page

adds `rel="noopener noreferrer"` to re-download link
  • Loading branch information
PhilipDeFraties committed Nov 22, 2023
1 parent bd54be9 commit e0f1368
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/practice_resources/download_and_redirect.html.erb
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="grid-container">
<div class="grid-row">
<div class="grid-col-8 grid-offset-2">
<div class="usa-prose text-center usa-my-6">
<div class="usa-prose text-center usa-section">
<% if session[:download_info].present? %>
<p>Your download should begin shortly. It will either open in a new tab or appear in your browser's downloads folder.</p>
<p>If the download does not start or open in a new tab, please ensure your popup blocker is disabled for this site and
<a href="<%= session[:download_info]['download_url'] %>" target="_blank">click here</a> to try downloading again.</p>
<a href="<%= session[:download_info]['download_url'] %>" target="_blank" rel="noopener noreferrer">click here</a> to try downloading again.</p>
<p><a href="<%= session[:download_info]['practice_path'] %>">Click here</a> to visit <%= session[:download_info]['practice_name'] %> the page where the original download link can be found.</p>

<script type="text/javascript">
Expand Down

0 comments on commit e0f1368

Please sign in to comment.