Bug 33883: "Make sure to copy your API secret" message overlaps text
authorOwen Leonard <oleonard@myacpl.org>
Fri, 2 Jun 2023 14:00:34 +0000 (14:00 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Jun 2023 12:58:49 +0000 (09:58 -0300)
commit536f860038c8ed0eeb851928403185559c98dcce
tree788fa53669f607b7dec2ccbeeab0c89e5b7a783b
parent087861cb435cf2b1c1c67d99016340487868afcd
Bug 33883: "Make sure to copy your API secret" message overlaps text

This patch updates the markup on the patron API keys page so that it
uses standard classes for dialogs and page sections.

To test you must have RESTOAuth2ClientCredentials enabled.

- Apply the patch and locate a patron record.
- From their checkout or detail page, choose More -> Manage API keys
- Click "Generate a new client id/secret pair"
- Enter a description and click Save.
- You should see a message in a standard message-style dialog, "Make
  sure to copy your API secret now. You won’t be able to see it again!"
- The API key information should be displayed in a .page-section div.
- The table of existing keys should be displayed in a .page-section div.

Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Signed-off-by: David Cook <dcook@prosentient.com.au>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt