Owen Leonard
37efe6ff76
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> |
||
---|---|---|
.. | ||
clubs | ||
errors | ||
sci | ||
sco | ||
svc | ||
text | ||
ilsdi.tt | ||
maintenance.tt | ||
opac-account-pay-error.tt | ||
opac-account.tt | ||
opac-addbybiblionumber.tt | ||
opac-advsearch.tt | ||
opac-alert-subscribe.tt | ||
opac-apikeys.tt | ||
opac-auth-detail.tt | ||
opac-auth-MARCdetail.tt | ||
opac-auth.tt | ||
opac-authorities-home.tt | ||
opac-authoritiessearchresultlist.tt | ||
opac-basket.tt | ||
opac-blocked.tt | ||
opac-browser.tt | ||
opac-course-details.tt | ||
opac-course-reserves.tt | ||
opac-detail.tt | ||
opac-discharge.tt | ||
opac-downloadcart.tt | ||
opac-downloadshelf.tt | ||
opac-full-serial-issues.tt | ||
opac-ics.tt | ||
opac-idref.tt | ||
opac-illrequests.tt | ||
opac-imageviewer.tt | ||
opac-ISBDdetail.tt | ||
opac-issue-note.tt | ||
opac-main.tt | ||
opac-MARCdetail.tt | ||
opac-memberentry-update-submitted.tt | ||
opac-memberentry.tt | ||
opac-messaging.tt | ||
opac-mymessages.tt | ||
opac-news-rss.tt | ||
opac-opensearch.tt | ||
opac-overdrive-search.tt | ||
opac-passwd.tt | ||
opac-password-recovery.tt | ||
opac-privacy.tt | ||
opac-readingrecord.tt | ||
opac-registration-confirmation.tt | ||
opac-registration-email-sent.tt | ||
opac-registration-invalid.tt | ||
opac-request-article.tt | ||
opac-reserve.tt | ||
opac-restrictedpage.tt | ||
opac-results-grouped.tt | ||
opac-results.tt | ||
opac-retrieve-file.tt | ||
opac-review.tt | ||
opac-routing-lists.tt | ||
opac-search-history.tt | ||
opac-sendbasket.tt | ||
opac-sendbasketform.tt | ||
opac-sendshelf.tt | ||
opac-sendshelfform.tt | ||
opac-serial-issues.tt | ||
opac-shareshelf.tt | ||
opac-shelves-rss.tt | ||
opac-shelves.tt | ||
opac-showmarc.tt | ||
opac-showreviews-rss.tt | ||
opac-showreviews.tt | ||
opac-suggestions.tt | ||
opac-tags.tt | ||
opac-tags_subject.tt | ||
opac-topissues.tt | ||
opac-user.tt |