Koha/koha-tmpl/opac-tmpl/bootstrap/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
..
clubs
errors
sci Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
sco Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
svc
text
ilsdi.tt
maintenance.tt
opac-account-pay-error.tt
opac-account.tt Bug 18786: Add ability to create custom payment types 2018-04-19 12:32:21 -03:00
opac-addbybiblionumber.tt
opac-advsearch.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-alert-subscribe.tt Bug 19855: Move getalert, addalert and delalert to Koha::Subscription 2018-04-23 14:22:15 -03:00
opac-apikeys.tt Bug 20568: (follow-up) Interface and markup changes 2018-05-09 12:55:58 -03:00
opac-auth-detail.tt Bug 20538: Fix 2 JS paths 2018-04-13 11:49:44 -03:00
opac-auth-MARCdetail.tt Bug 20538: Fix 2 JS paths 2018-04-13 11:49:44 -03:00
opac-auth.tt Bug 20291: (follow-up) Rename NoLoginInstructions to OpacLoginInstructions 2018-04-02 18:08:07 -03:00
opac-authorities-home.tt
opac-authoritiessearchresultlist.tt
opac-basket.tt Bug 19708: Improve code for printing the cart in OPAC 2018-03-26 17:31:16 -03:00
opac-blocked.tt
opac-browser.tt
opac-course-details.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-course-reserves.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-detail.tt Bug 19855: Move getalert, addalert and delalert to Koha::Subscription 2018-04-23 14:22:15 -03:00
opac-discharge.tt
opac-downloadcart.tt
opac-downloadshelf.tt
opac-full-serial-issues.tt
opac-ics.tt
opac-idref.tt
opac-illrequests.tt Bug 20284: ILLModuleCopyrightClearance text breaks 2018-05-07 11:55:01 -03:00
opac-imageviewer.tt
opac-ISBDdetail.tt
opac-issue-note.tt
opac-main.tt Bug 18820: Main block size now adjust to OpacNavRight like it would for opacuserlogin 2018-04-02 18:12:30 -03:00
opac-MARCdetail.tt
opac-memberentry-update-submitted.tt
opac-memberentry.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-messaging.tt
opac-mymessages.tt
opac-news-rss.tt
opac-opensearch.tt Bug 20286: Fix filter for BakerTaylor* prefs 2018-03-14 08:59:29 +00:00
opac-overdrive-search.tt Bug 20686: OPAC shows 'Login to OverDrive account' with 'OverDriveCirculation' syspref disabled 2018-05-07 11:55:32 -03:00
opac-passwd.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-password-recovery.tt
opac-privacy.tt Bug 20363: (bug 16966 follow-up) better messages handling 2018-04-23 14:22:16 -03:00
opac-readingrecord.tt
opac-registration-confirmation.tt
opac-registration-email-sent.tt
opac-registration-invalid.tt
opac-request-article.tt
opac-reserve.tt Bug 19171: Attempt to make "no holds possible" messages less confusing 2018-05-04 09:17:10 -03:00
opac-restrictedpage.tt
opac-results-grouped.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-results.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-retrieve-file.tt
opac-review.tt
opac-routing-lists.tt Bug 20400: (follow-up) Several fixes from RM review 2018-04-20 17:59:06 -03:00
opac-search-history.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-sendbasket.tt
opac-sendbasketform.tt
opac-sendshelf.tt
opac-sendshelfform.tt
opac-serial-issues.tt Bug 19855: Move getalert, addalert and delalert to Koha::Subscription 2018-04-23 14:22:15 -03:00
opac-shareshelf.tt
opac-shelves-rss.tt
opac-shelves.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-showmarc.tt
opac-showreviews-rss.tt
opac-showreviews.tt
opac-suggestions.tt Bug 20538: Remove the need of writing [% KOHA_VERSION %] everywhere 2018-04-13 11:49:44 -03:00
opac-tags.tt
opac-tags_subject.tt
opac-topissues.tt
opac-user.tt Bug 20489: Remove warnings from the interface 2018-04-20 12:24:00 -03:00