From 5ffb5bcce351689d699bfb395f3105311c13fb07 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 11 Jan 2019 17:06:45 +0000 Subject: [PATCH] Bug 22104: Clean up patron API keys template This patch makes two corrections to the patron API key template: Convert to Bootstrap grid and correct class on "new key" button. To test, apply the patch and enable the RESTOAuth2ClientCredentials preference. - Open a patron record in the staff client and choose More -> Manage API keys. - On the API keys page, confirm that the page adjusts well at various page widths. - Confirm that the size of the "Generate new client id/key pair" button matches the buttons in the toolbar. Signed-off-by: David Nind Signed-off-by: Katrin Fischer Signed-off-by: Katrin Fischer Signed-off-by: Nick Clemens --- .../prog/en/modules/members/apikeys.tt | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt index 3307a3189e..d3a05a3a72 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/apikeys.tt @@ -18,10 +18,11 @@ API Keys for [% INCLUDE 'patron-title.inc' %] -
-
-
-
+
+
+
+
+ [% INCLUDE 'members-toolbar.inc' %]

API keys for [% INCLUDE 'patron-title.inc' %]

@@ -45,7 +46,7 @@
[% IF api_keys && api_keys.size > 0 %]

- +

@@ -93,12 +94,16 @@
No keys defined for the current patron. Generate a new client id/secret pair
[% END %] - - -
- [% INCLUDE 'circ-menu.inc' %] -
- + + + +
+ +
+ + [% MACRO jsinclude BLOCK %] [% INCLUDE 'str/members-menu.inc' %] -- 2.39.5