mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
rename api key component to copy_to_clipboard
does what it says on the tin, and is also consistent with prior art: https://components.publishing.service.gov.uk/component-guide/copy_to_clipboard
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
{% extends "withnav_template.html" %}
|
||||
{% from "components/page-footer.html" import page_footer %}
|
||||
{% from "components/api-key.html" import api_key %}
|
||||
{% from "components/copy-to-clipboard.html" import copy_to_clipboard %}
|
||||
|
||||
{% block service_page_title %}
|
||||
New API key
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
<div class="bottom-gutter-2">
|
||||
|
||||
{{ api_key(
|
||||
{{ copy_to_clipboard(
|
||||
'{}-{}-{}'.format(key_name, service_id, secret),
|
||||
name='API key',
|
||||
thing='API key'
|
||||
|
||||
Reference in New Issue
Block a user