diff --git a/app/views/application/_questionnaire_summary.html.haml b/app/views/application/_questionnaire_summary.html.haml index 8f3ae4b7b..4190687d4 100644 --- a/app/views/application/_questionnaire_summary.html.haml +++ b/app/views/application/_questionnaire_summary.html.haml @@ -7,10 +7,10 @@ = Questionnaire::POSSIBLE_EXPERIENCES[@questionnaire.experience] %p %b Portfolio link: - = @questionnaire.portfolio_url? ? link_to(@questionnaire.portfolio_url, @questionnaire.portfolio_url, target: '_blank') : 'Not provided' + = @questionnaire.portfolio_url? ? link_to(@questionnaire.portfolio_url, @questionnaire.portfolio_url, target: '_blank', rel: 'noopener') : 'Not provided' %p %b GitHub/GitLab/Bitbucket link: - = @questionnaire.vcs_url? ? link_to(@questionnaire.vcs_url, @questionnaire.vcs_url, target: '_blank') : 'Not provided' + = @questionnaire.vcs_url? ? link_to(@questionnaire.vcs_url, @questionnaire.vcs_url, target: '_blank', rel: 'noopener') : 'Not provided' %p %b Resume: = @questionnaire.resume.attached? ? link_to("Download »".html_safe, @questionnaire.resume) : 'Not provided' diff --git a/app/views/layouts/manage/application.html.haml b/app/views/layouts/manage/application.html.haml index 1c0ffac6d..68acbb660 100644 --- a/app/views/layouts/manage/application.html.haml +++ b/app/views/layouts/manage/application.html.haml @@ -124,14 +124,14 @@ .nav-item-description = t(:doorkeeper, scope: 'layouts.manage.navigation.descriptors') %li.nav-item - = active_link_to sidekiq_web_path, target: '_blank', class: "nav-link" do + = active_link_to sidekiq_web_path, target: '_blank', rel: "noopener", class: "nav-link" do .fa.fa-tasks.fa-fw.icon-space-r-half = t(:title, scope: 'pages.manage.sidekiq') %span.fa.fa-external-link.icon-space-l-half .nav-item-description = t(:sidekiq, scope: 'layouts.manage.navigation.descriptors') %li.nav-item - = active_link_to blazer_path, target: '_blank', class: "nav-link" do + = active_link_to blazer_path, target: '_blank', rel: "noopener", class: "nav-link" do .fa.fa-terminal.fa-fw.icon-space-r-half = t(:title, scope: 'pages.manage.blazer') %span.fa.fa-external-link.icon-space-l-half diff --git a/app/views/manage/messages/_templating.haml b/app/views/manage/messages/_templating.haml index 6a3b1c0ad..0ba432173 100644 --- a/app/views/manage/messages/_templating.haml +++ b/app/views/manage/messages/_templating.haml @@ -2,7 +2,7 @@ %p Message bodies can make use of template variables to help personalize and streamline emails. - Templating is powered by mustache. + Templating is powered by mustache. %table.table.table-striped %thead diff --git a/app/views/manage/messages/template.haml b/app/views/manage/messages/template.haml index dd7de592c..517c48943 100644 --- a/app/views/manage/messages/template.haml +++ b/app/views/manage/messages/template.haml @@ -22,7 +22,7 @@ .form-inputs %h5.mb-3 Customize template %p.text-secondary Must save to update preview. CSS will be converted to inline styles when messages are sent. - %p.text-secondary Be sure to test with as many email providers as possible! Litmus PutsMail is one great resource. + %p.text-secondary Be sure to test with as many email providers as possible! Litmus PutsMail is one great resource. = f.input :html, input_html: { 'data-code-mirror-textarea' => '1' }, label: false, wrapper: :bootstrap_inline_form .form-actions.mt-3.mb-3 diff --git a/app/views/manage/questionnaires/_overview.html.haml b/app/views/manage/questionnaires/_overview.html.haml index ffdfecdd9..9c54f3d43 100644 --- a/app/views/manage/questionnaires/_overview.html.haml +++ b/app/views/manage/questionnaires/_overview.html.haml @@ -86,10 +86,10 @@ = Questionnaire::POSSIBLE_EXPERIENCES[@questionnaire.experience] %dt.col-md-4 Portfolio %dd.col-md-8 - = @questionnaire.portfolio_url? ? link_to(@questionnaire.portfolio_url, @questionnaire.portfolio_url, target: '_blank') : not_provided + = @questionnaire.portfolio_url? ? link_to(@questionnaire.portfolio_url, @questionnaire.portfolio_url, target: '_blank', rel: 'noopener') : not_provided %dt.col-md-4 GitHub/GitLab/Bitbucket %dd.col-md-8 - = @questionnaire.vcs_url? ? link_to(@questionnaire.vcs_url, @questionnaire.vcs_url, target: '_blank') : not_provided + = @questionnaire.vcs_url? ? link_to(@questionnaire.vcs_url, @questionnaire.vcs_url, target: '_blank', rel: 'noopener') : not_provided %dt.col-md-4 Resume %dd.col-md-8 = @questionnaire.resume.attached? ? link_to("Download »".html_safe, @questionnaire.resume) : not_provided diff --git a/app/views/manage/schools/show.html.haml b/app/views/manage/schools/show.html.haml index 9a08d1bc5..41bcf4849 100644 --- a/app/views/manage/schools/show.html.haml +++ b/app/views/manage/schools/show.html.haml @@ -25,7 +25,7 @@ = @school.name %br %small - = link_to google_maps_link(@school.name), target: '_blank' do + = link_to google_maps_link(@school.name), target: '_blank', rel: 'noopener' do Search in Google Maps %span.fa.fa-external-link.icon-space-l-half %dt.col-md-4 Address @@ -37,7 +37,7 @@ %br %small - link = google_maps_link(@school.address, @school.city, @school.state) - = link_to link, target: '_blank' do + = link_to link, target: '_blank', rel: 'noopener' do Search in Google Maps %span.fa.fa-external-link.icon-space-l-half %dt.col-md-4 Home school diff --git a/db/seed_messages/questionnaire--accepted.md b/db/seed_messages/questionnaire--accepted.md index 26b5341d3..f459e0edd 100644 --- a/db/seed_messages/questionnaire--accepted.md +++ b/db/seed_messages/questionnaire--accepted.md @@ -3,8 +3,8 @@ You have been accepted to attend {{hackathon_name}}! **Please RSVP:**
- Yes, I will Attend »
- No, I Can't Attend »
+ Yes, I will Attend »
+ No, I Can't Attend »
- Link not working? Go to {{rsvp_url}}
+ Link not working? Go to {{rsvp_url}}
- Yes, I will Attend »
- No, I Can't Attend »
+ Yes, I will Attend »
+ No, I Can't Attend »
- Link not working? Go to {{rsvp_url}}
+ Link not working? Go to {{rsvp_url}}