From e5585512c82f2554c19c562f48dd9c49732f4894 Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 15 Jan 2016 20:03:00 +0000 Subject: [PATCH] Integrate API key pattern into existing page --- app/templates/views/api-keys.html | 29 +++++++---------------------- 1 file changed, 7 insertions(+), 22 deletions(-) diff --git a/app/templates/views/api-keys.html b/app/templates/views/api-keys.html index 8eaf3d2f0..7243753c9 100644 --- a/app/templates/views/api-keys.html +++ b/app/templates/views/api-keys.html @@ -1,5 +1,6 @@ {% extends "withnav_template.html" %} {% from "components/page-footer.html" import page_footer %} +{% from "components/api-key.html" import api_key %} {% block page_title %} GOV.UK Notify | API keys and documentation @@ -9,16 +10,16 @@ GOV.UK Notify | API keys and documentation

API documentation and key

-

How to integrate Notify into your service

+

How to integrate GOV.UK Notify into your service

blah blah blah this is where we tell you how the API works

Repositories

-

https://github.com/alphagov/notify-api
- Notify API

+

https://github.com/alphagov/notifications-api
+ GOV.UK Notify API

-

A python api client for Notify

+

A python api client for GOV.UK Notify

Python client

@@ -42,27 +43,11 @@ GOV.UK Notify | API keys and documentation

API endpoint: https://www.notify.works/api/endpoint

-
-

Show API key

-
- - - - - - -
+ {{ api_key('d30512af92e1386d63b90e5973b49a10') }} {{ page_footer( back_link=url_for('.dashboard', service_id=service_id), back_link_text='Back to dashboard' ) }} -{% endblock %} \ No newline at end of file +{% endblock %}