Skip to content

Commit 41f1f15

Browse files
momo3404aaronskiba
authored andcommitted
Update documentation links for legacy APIs
1 parent b3bd4d8 commit 41f1f15

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

app/views/devise/registrations/_legacy_api_token.html.erb

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,15 @@
1717
<div class="form-control mb-3 col-xs-12">
1818
<%= label_tag(:api_information, _('Documentation'), class: 'form-label') %>
1919
<br>
20-
<%= _('See the <a href="%{api_v0_wiki}">documentation for v0</a> for more details on the original API which includes access to statistics, the full text of plans and the ability to connect users with departments.').html_safe % { api_v0_wiki: api_wikis[:v0] } %></a>
20+
<%= sanitize(_('See the <a href="%{api_v0_wiki}">documentation for v0</a> for more details on the original API which includes access to statistics, the full text of plans and the ability to connect users with departments.') %
21+
{ api_v0_wiki: api_wikis[:v0] },
22+
attributes: %w[href]
23+
)%>
2124
<br><br>
22-
<%= _('See the <a href="%{api_v1_wiki}">documentation for v1</a> for more details on the API that supports the <a href="%{rda_standard_url}">RDA Common metadata standard for DMPs.</a>').html_safe % { api_v1_wiki: api_wikis[:v1], rda_standard_url: 'https://github.com/RDA-DMP-Common/RDA-DMP-Common-Standard' } %></a>
25+
<%= sanitize(_('See the <a href="%{api_v1_wiki}">documentation for v1</a> for more details on the API that supports the <a href="%{rda_standard_url}">RDA Common metadata standard for DMPs.</a>') %
26+
{ api_v1_wiki: api_wikis[:v1], rda_standard_url: 'https://github.com/RDA-DMP-Common/RDA-DMP-Common-Standard' },
27+
attributes: %w[href]
28+
)%>
2329
</div>
2430
<div class="form-control mb-3 col-xs-8">
2531
<%= link_to _("Regenerate token"),

0 commit comments

Comments
 (0)