Skip to content

Commit e9525ae

Browse files
Merge pull request #14 from hmrc/APIS-3676
APIS-3676 - external links
2 parents 965285b + cec53a3 commit e9525ae

File tree

7 files changed

+16
-17
lines changed

7 files changed

+16
-17
lines changed

app/uk/gov/hmrc/apidocumentation/views/authorisationUserRestrictedEndpoints.scala.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ <h5 id="auth-endpoint-example" class="heading-small faded-text">Example</h5>
143143
</tr>
144144
<tr>
145145
<td><span class="code--slim">state</span> (optional)</td>
146-
<td>An opaque value used to maintain state between the request and callback and to prevent tampering as described in the <a href="https://tools.ietf.org/html/rfc6749#section-10.12" target="_blank">Oauth 2.0 specification (opens in a new tab)</a>. This is passed back to your application via the <span class="code--slim">redirect_uri</span>.</td>
146+
<td>An opaque value used to maintain state between the request and callback and to prevent tampering as described in the <a href="https://tools.ietf.org/html/rfc6749#section-10.12" target="_blank">OAuth 2.0 specification (opens in a new tab)</a>. This is passed back to your application via the <span class="code--slim">redirect_uri</span>.</td>
147147
</tr>
148148
<tr>
149149
<td><span class="code--slim">redirect_uri</span></td>

app/uk/gov/hmrc/apidocumentation/views/cookies.scala.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ <h3 class="heading-small">@Messages("help.cookies.hotjar")</h3>
196196
</tbody>
197197
</table>
198198
<p>You can opt-out from having Hotjar collect your information by <a
199-
href="https://www.hotjar.com/opt-out" target="_blank">visiting their opt out page (link opens in a new tab)</a> clicking 'Disable Hotjar'.</p>
199+
href="https://www.hotjar.com/opt-out" target="_blank">visiting their opt out page (opens in a new tab)</a> clicking 'Disable Hotjar'.</p>
200200

201201
<h3 class="heading-small">@Messages("help.cookies.optimizely")</h3>
202202
<div>
@@ -224,11 +224,11 @@ <h3 class="heading-small">@Messages("help.cookies.optimizely")</h3>
224224
</tbody>
225225
</table>
226226
<p>You can opt out from having Optimizely collect your information by <a
227-
href="https://www.optimizely.com/legal/opt-out/" target="_blank">visiting their opt out page (link opens in a new tab)</a> and entering our Developer Hub URL in their opt out form:<br><br><code>https://developer.service.hmrc.gov.uk/api-documentation</code> </p>
227+
href="https://www.optimizely.com/legal/opt-out/" target="_blank">visiting their opt out page (opens in a new tab)</a> and entering our Developer Hub URL in their opt out form:<br><br><code>https://developer.service.hmrc.gov.uk/api-documentation</code> </p>
228228

229229
<h3 class="heading-small">@Messages("help.cookies.sm")</h3>
230230
<p>We use <a
231-
href="http://www.surveymonkey.com/" target="_blank">SurveyMonkey (link opens in a new tab)</a> to collect responses to our survey. If you take part, SurveyMonkey saves cookies to your computer to track your progress.</p>
231+
href="http://www.surveymonkey.com/" target="_blank">SurveyMonkey (opens in a new tab)</a> to collect responses to our survey. If you take part, SurveyMonkey saves cookies to your computer to track your progress.</p>
232232

233233
<table>
234234
<thead>
@@ -267,6 +267,6 @@ <h3 class="heading-small">@Messages("help.cookies.sm")</h3>
267267
</tbody>
268268
</table>
269269
<p>You can find out more <a
270-
href="https://help.surveymonkey.com/articles/en_US/kb/About-the-cookies-we-use" target="_blank">about the cookies that SurveyMonkey uses (link opens in a new tab)</a> and how to opt out.</p>
270+
href="https://help.surveymonkey.com/articles/en_US/kb/About-the-cookies-we-use" target="_blank">about the cookies that SurveyMonkey uses (opens in a new tab)</a> and how to opt out.</p>
271271
</div>
272-
}
272+
}

app/uk/gov/hmrc/apidocumentation/views/privacy.scala.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ <h2 class="heading-medium">Your personal information</h2>
4141
</p>
4242
<p>
4343
If you want to see what information we store about taxpayers, you can also
44-
read <a href="https://www.tax.service.gov.uk/help/privacy" target="_blank">
45-
HMRC's Privacy Notice (opens in a new tab)</a>.
44+
read <a href="https://www.tax.service.gov.uk/help/privacy">
45+
HMRC's Privacy Notice</a>.
4646
</p>
4747
</section>
4848
<section>

app/uk/gov/hmrc/apidocumentation/views/reference.scala.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -484,7 +484,7 @@ <h3 class="heading-medium">Header Contents</h3>
484484

485485
<p>
486486
Header contents must use the character set USASCII, with other characters URL encoded as in
487-
<a href="https://www.ietf.org/rfc/rfc3986.txt">RFC3986 (opens in a new tab)</a>.
487+
<a href="https://www.ietf.org/rfc/rfc3986.txt" target="_blank">RFC3986 (opens in a new tab)</a>.
488488
Other restrictions on header values are shown in the header definitions table.
489489
</p>
490490

@@ -747,7 +747,7 @@ <h3 class="heading-medium">Header Contents</h3>
747747
", for=&lt;IP request came from&gt;;by=&lt;current IP&gt;"
748748
</p>
749749
<p>
750-
For more details on this header field, see IETF <a href="https://tools.ietf.org/html/rfc7239">RFC7239 (opens in a new tab)</a>.</p>
750+
For more details on this header field, see IETF <a href="https://tools.ietf.org/html/rfc7239" target="_blank">RFC7239 (opens in a new tab)</a>.</p>
751751
<p>For example, <code class="code--slim">for=10.1.2.3;by=198.51.100.0</code></p>
752752
</td>
753753
</tr>

app/uk/gov/hmrc/apidocumentation/views/termsAndConditions.scala.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -80,16 +80,15 @@ <h2 class="heading-medium">Using our website</h2>
8080
<h2 class="heading-medium">Online services</h2>
8181
<p>
8282
For detailed guidance regarding online security and protection, please follow the link
83-
<a href="http://www.hmrc.gov.uk/security/index.htm" target ="_blank">
84-
Online security - making your online experience as secure as possible (link opens in a new window)</a>.
83+
<a href="http://www.hmrc.gov.uk/security/index.htm">
84+
Online security - making your online experience as secure as possible</a>.
8585
</p>
8686
</section>
8787
<section>
8888
<h2 class="heading-medium">Copyright and intellectual property rights</h2>
8989
<p>The material featured on this site is subject to Crown Copyright and/or
9090
third party copyright, details of which can be found in our
91-
<a href="http://www.hmrc.gov.uk/copyright/index.htm" target ="_blank">
92-
copyright notice (link opens in a new window)</a>.
91+
<a href="http://www.hmrc.gov.uk/copyright/index.htm">copyright notice</a>.
9392
</p>
9493
<p>The names, images and logos identifying HMRC are our proprietary marks.
9594
Copying our logos and/or any other third party logos accessed through this site

app/uk/gov/hmrc/apidocumentation/views/usingTheHub.scala.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ <h2 class="heading-medium">1. Before you start</h2>
3636
</p>
3737
<p>Read our <a href="/api-documentation/docs/terms-of-use">terms of use</a>.</p>
3838
<p>Read up on <a href="https://developer.service.hmrc.gov.uk/api-documentation/docs/authorisation">authorisation</a>,
39-
especially the <a rel="external" href="https://oauth.net/2/" target="_blank">OAuth 2.0 specification (opens in a new tab)</a>.</p>
39+
especially the <a href="https://oauth.net/2/" target="_blank">OAuth 2.0 specification (opens in a new tab)</a>.</p>
4040
</section>
4141

4242
<section id="register_account">
@@ -74,4 +74,4 @@ <h2 class="heading-medium">5. Start using live data</h2>
7474
</p>
7575
</section>
7676

77-
}
77+
}

conf/messages

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ help.cookies.how_used.measuring_usage.cookies_used.table.gds.name=GDS_successEve
4545
help.cookies.how_used.measuring_usage.cookies_used.table.gds.purpose=These help us identify how you use GOV.UK so we can make the site better
4646
help.cookies.how_used.measuring_usage.cookies_used.table.gds.expires=4 months
4747
help.cookies.how_used.measuring_usage.opt_out.info=You can {0}.
48-
help.cookies.how_used.measuring_usage.opt_out.link.text=opt out of Google Analytics cookies (link opens in a new tab)
48+
help.cookies.how_used.measuring_usage.opt_out.link.text=opt out of Google Analytics cookies (opens in a new tab)
4949
help.cookies.how_used.measuring_usage.opt_out.link.url=https://tools.google.com/dlpage/gaoptout
5050
help.cookies.how_used.optimizely.heading=Comparing different versions of a webpage (Optimizely)
5151
help.cookies.how_used.optimizely.info=Optimizely software is used to test different versions of a webpage (or webpages) to see which performs better. This is done to help make improvements and ensure the site is meeting the needs of its users.

0 commit comments

Comments
 (0)