Skip to content

Commit

Permalink
Link to send section flow from API Documentation guidance page
Browse files Browse the repository at this point in the history
The link is only visible to platform admins.
  • Loading branch information
CrystalPea committed Oct 3, 2024
1 parent 4fecb24 commit 7c0e5a2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/templates/views/guidance/using-notify/api-documentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@
{% block content_column_content %}

<h1 class="heading-large">Documentation</h1>

{% if current_user.platform_admin %}
<a href="{{ url_for(".guidance_api_documentation_section") }}"
class="govuk-link govuk-link--no-visited-state"
target="_blank" rel="noopener">
Send a link to docs section
</a>
<p></p>
{% endif %}

<p class="govuk-body">This documentation is for developers who want to integrate the GOV.UK Notify API with a web application or back office system.</p>
<h2 class="heading-medium" id="client-libraries">Client libraries</h2>
<p class="govuk-body">Links to documentation open in a new tab.</p>
Expand Down

0 comments on commit 7c0e5a2

Please sign in to comment.