Koha/koha-tmpl/intranet-tmpl/prog/en/modules
Owen Leonard 37efe6ff76 Bug 20568: (follow-up) Interface and markup changes
This patch makes some interface changes to bring things better in line
with existing interface patterns. This patch also re-indents the
modified templates with 4 spaces instead of 2 and makes <input>s
self-closing.

Also changed: Corrected system preference check in opac-apikeys.pl.

To test, apply the patch and:

In the staff client:

 - Open a patron record and choose More -> Manage API keys.
   - There should be a standard message dialog containing a link to
     "Generate a new key."
     - Clicking the link should show the form for adding a new key.
     - Test that clicking the "Cancel" link hides the form.
     - Test that creating the new key works correctly.
   - You should now see a table showing existing keys and a "Generate a
     new key" button above it.
     - Test that the "Delete" button asks for confirmation, and that
       confirming and denying both work correctly.
     - Test that "Revoke" and "Activate" actions still work correctly.

In the OPAC:

 - Set the AllowPatronsManageAPIKeysInOPAC system preference to "Allow."
 - Log in to the OPAC and click the "your API keys" link in the sidebar.
   - Clicking the "Generate new key" button should display the form for
     adding a new key.
     - Clicking the "cancel" link should hide the form.
     - Submitting the form should add a new key.
   - You should now see a table showing existing keys.
     - Test that the "Delete" link asks for confirmation, and that
       confirming and denying both work correctly.
     - Test that "Revoke" and "Activate" actions still work correctly.
 - Set the AllowPatronsManageAPIKeysInOPAC system preference to "Don't
   allow."
   - Log in to the OPAC and confirm that the "your API keys" link in the
     sidebar is no longer visible.
     - Confirm that navigating directly to /cgi-bin/koha/opac-apikeys.pl
       results in a 404 error.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2018-05-09 12:55:58 -03:00
..
acqui Bug 20329: Text input fields are wider than the fieldset class they are inside of 2018-05-03 13:26:47 -03:00
admin Bug 20568: API key management for OPAC users 2018-05-09 12:55:58 -03:00
authorities Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
basket Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
batch
catalogue Bug 15922: Show authorized value description in staff client search results for lost, withdrawn, and damaged 2018-04-20 12:42:40 -03:00
cataloguing Bug 19952: Update popup window templates to use Bootstrap grid: UNIMARC cataloging plugins 2018-04-19 12:32:23 -03:00
circ Bug 19972: (QA follow-up) Fix id name 2018-05-03 13:26:48 -03:00
clubs Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
common Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
course_reserves Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
errors
help Bug 19794: (QA follow-up) Change tab to space 2018-04-19 12:32:19 -03:00
ill Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
installer Revert "Bug 20104: Update minimum version of Perl to 5.20" 2018-04-19 12:32:23 -03:00
labels Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
members Bug 20568: (follow-up) Interface and markup changes 2018-05-09 12:55:58 -03:00
offline_circ Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
onboarding Bug 20189: Fix style on installer and onboarding pages 2018-02-13 12:57:21 -03:00
patron_lists Bug 9302: Add ability to merge patron records 2018-04-20 13:34:41 -03:00
patroncards Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
plugins Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
reports Bug 20663: Remove dead code related to compound reports 2018-05-04 09:19:26 -03:00
reserve Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
reviews Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
rotating_collections Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
serials Bug 7910: Add the ability to renew several subscriptions at once 2018-04-24 12:04:46 -03:00
services
suggestion Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
tags Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
test
tools Bug 20685: Escape letter template content in textarea 2018-05-04 09:15:38 -03:00
virtualshelves Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
about.tt Bug 7143: Update about page for new dev - Andrew Isherwood 2018-04-19 12:32:23 -03:00
auth.tt Bug 20291: Add a StaffLoginInstructions preference for adding text to staff client login 2018-04-02 18:08:07 -03:00
intranet-main.tt Bug 20489: Remove warnings from the interface 2018-04-20 12:24:00 -03:00