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

VACMS-11848 Add rel=noreferrer to external links #1644

Merged
merged 1 commit into from
Jul 28, 2023
Merged
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
14 changes: 7 additions & 7 deletions src/site/facilities/facility_social_links.drupal.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="usa-width-one-half social-links">
{% if fieldGovdeliveryIdNews != empty %}
<div class="social-links-email vads-u-margin-bottom--2">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none"
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer"
href="https://public.govdelivery.com/accounts/USVHA/subscriber/new?topic_id={{ fieldGovdeliveryIdNews }}">
<i class="fas fa-envelope vads-u-margin-right--1"></i>
<span class="vads-u-text-decoration--underline">Subscribe to
Expand All @@ -17,7 +17,7 @@

{% if fieldGovdeliveryIdEmerg != empty %}
<div class="social-links-email vads-u-margin-bottom--2">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" href="https://public.govdelivery.com/accounts/USVHA/subscriber/new?topic_id={{ fieldGovdeliveryIdEmerg }}">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="https://public.govdelivery.com/accounts/USVHA/subscriber/new?topic_id={{ fieldGovdeliveryIdEmerg }}">
<i class="fas fa-envelope vads-u-margin-right--1"></i>
<span class="vads-u-text-decoration--underline">Subscribe to {{ regionNickname }} emergency notifications</span>
</a>
Expand All @@ -26,7 +26,7 @@
{% endif %}
{% if fieldOperatingStatus.url.path %}
<div class="social-links-email vads-u-margin-bottom--2">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none"
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer"
href="{{ fieldOperatingStatus.url.path}}">
<i class="fas fa-dot-circle vads-u-margin-right--1"></i>
<span class="vads-u-text-decoration--underline">{{ regionNickname }} operating status</span>
Expand All @@ -41,7 +41,7 @@
<div class="">
{% if fieldFacebook != empty %}
<div class="social-links social-links-facebook vads-u-margin-bottom--2">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" href="{{ fieldFacebook.uri }}">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldFacebook.uri }}">
<i class="fab fa-facebook-square vads-u-margin-right--1"></i>
<span class="vads-u-text-decoration--underline">{{ fieldFacebook.title }}</span>
</a>
Expand All @@ -50,15 +50,15 @@

{% if fieldTwitter != empty %}
<div class="social-links social-links-twitter vads-u-margin-bottom--2">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" href="{{ fieldTwitter.uri }}">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldTwitter.uri }}">
<i class="fab fa-twitter vads-u-text-decoration--none vads-u-margin-right--1"></i>
<span class="vads-u-text-decoration--underline">{{ fieldTwitter.title }}</span>
</a>
</div>
{% endif %}
{% if fieldFlickr != empty %}
<div class="social-links social-links-flickr vads-u-margin-bottom--2">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" href="{{ fieldFlickr.uri }}">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldFlickr.uri }}">
<i class="fab fa-flickr vads-u-text-decoration--none vads-u-margin-right--1"></i>
<span class="vads-u-text-decoration--underline">{{ fieldFlickr.title }}</span>
</a>
Expand All @@ -67,7 +67,7 @@

{% if fieldInstagram != empty %}
<div class="social-links social-links-instagram vads-u-margin-bottom--2">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" href="{{ fieldInstagram.uri }}">
<a class="vads-u-display--flex vads-u-align-items--baseline vads-u-text-decoration--none" rel="noreferrer" href="{{ fieldInstagram.uri }}">
<i class="fab fa-instagram vads-u-text-decoration--none vads-u-margin-right--1"></i>
<span class="vads-u-text-decoration--underline">{{ fieldInstagram.title }}</span>
</a>
Expand Down
Loading