Skip to content

Commit 123e9ec

Browse files
Remove noreferrer from the “Open Certificate” link (#658)
1 parent 25b829f commit 123e9ec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lms/templates/learner_dashboard/certificate_list.underscore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<ul class="certificate-list">
66
<% _.each(certificateList, function(certificate){ %>
77
<li class="certificate">
8-
<a class="image-link" href="<%- certificate.url %>" aria-hidden="true" tabindex="-1"><img src="/static/images/programs/certificate-icon.svg" class="sample-cert" alt=""></a>
9-
<a class="certificate-link" href="<%- certificate.url %>"><%- certificate.title %></a>
8+
<a class="image-link" target="_blank" rel="noopener" href="<%- certificate.url %>" aria-hidden="true" tabindex="-1"><img src="/static/images/programs/certificate-icon.svg" class="sample-cert" alt=""></a>
9+
<a class="certificate-link" target="_blank" rel="noopener" href="<%- certificate.url %>"><%- certificate.title %></a>
1010
</li>
1111
<% }); %>
1212
</ul>

lms/templates/learner_dashboard/program_details_sidebar.underscore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<aside class="aside js-program-progress program-progress">
22
<% if (programCertificate) { %>
33
<h2 class="progress-heading certificate-heading"><%- StringUtils.interpolate(gettext('Your {program} Certificate'), {program: type}, true) %></h2>
4-
<a href="<%- programCertificate.url %>" class="btn-brand btn cta-primary" target="_blank" rel="noopener noreferrer">
4+
<a href="<%- programCertificate.url %>" class="btn-brand btn cta-primary" target="_blank" rel="noopener">
55
Program Certificate
66
</a>
77
<% } %>

0 commit comments

Comments
 (0)