mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Merge pull request #859 from alphagov/point-documentation-at-clients
Link to client documentation, not API documentation
This commit is contained in:
@@ -58,11 +58,19 @@
|
||||
{{ api_key(current_service.id, "Service ID", thing="service ID") }}
|
||||
</div>
|
||||
|
||||
<h2 class="heading-small">Documentation</h2>
|
||||
<p>
|
||||
See the
|
||||
<a href="{{ url_for('.documentation') }}">
|
||||
API documentation</a> for clients and specfications.
|
||||
</p>
|
||||
<h2 class="heading-small">API clients</h2>
|
||||
<ul class="list list-bullet">
|
||||
{% for name, url in [
|
||||
('Java', 'https://github.com/alphagov/notifications-java-client'),
|
||||
('Node JS', 'https://github.com/alphagov/notifications-node-client'),
|
||||
('PHP', 'https://github.com/alphagov/notifications-php-client'),
|
||||
('Python', 'https://github.com/alphagov/notifications-python-client'),
|
||||
('Ruby', 'https://github.com/alphagov/notifications-ruby-client')
|
||||
] %}
|
||||
<li>
|
||||
<a href="{{ url }}">{{ name }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -32,13 +32,4 @@
|
||||
{{ api_key(template.id, name="Template ID", thing='template ID') }}
|
||||
</div>
|
||||
|
||||
{% if personalisation %}
|
||||
<h2 class="heading-small">Personalisation (all fields are required)</h2>
|
||||
{{ personalisation|syntax_highlight_json }}
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
<br />See the <a href="{{ url_for(".documentation") }}">developer documentation</a> for full details.
|
||||
</p>
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user