Use the API key pattern for showing service ID

When we show an identifier, like an ID or a key, we have a pattern which
adds a ‘copy to clipboard’ button. We weren’t using this pattern for
service ID.

This commit also moves it under the table, so hopefully people will be
less likely to confuse the service ID for an API key when scanning down
the page.
This commit is contained in:
Chris Hill-Scott
2016-04-25 09:48:26 +01:00
parent 7b540fe10b
commit e049e691fd
2 changed files with 6 additions and 7 deletions

View File

@@ -33,6 +33,8 @@
key = $component.data('key'),
thing = $component.data('thing');
console.log(thing)
$component
.html(states.keyVisible(key, thing))
.attr('aria-live', 'polite')