Main Koha release repository https://koha-community.org
Find a file
Owen Leonard ddad175f11
Bug 25281: Use modal confirmation when deleting a list in the OPAC
This patch modifies the process of deleting a list in the OPAC so that
the deletion confirmation alert is replaced with a Bootstrap modal.

In the process, I moved the repeated deletion form markup into a block

To test, apply the patch and log in to the OPAC as a user who has
multiple lists, including some which have been shared with other users.

Go to the list of your lists and click the "Delete" link next to any of
your lists. It should trigger a confirmation modal:

 - The modal should show the title of the list you're deleting.
 - If the list has titles on it, it show how many.
 - If the list has been shared with someone it should say so.

Next, view a list which is not empty.

 - Test the "Delete list" link in the toolbar.
 - You should see the same information in the confirmation message as in
   the previous step.

Do the same with a list which is empty.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-04-29 17:03:41 +01:00
acqui Bug 25223: Make join of aqbasket and aqorders explicit 2020-04-22 09:29:13 +01:00
admin Bug 23137: Move cache flushing to the method 2020-04-29 17:02:15 +01:00
api/v1 Bug 25048: Make successful resource deletion return 204 2020-04-29 16:24:43 +01:00
authorities Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
basket
C4 Bug 25227: Display correct message if item is withdrawn and withdrawn returns are allowed 2020-04-29 16:13:17 +01:00
catalogue
cataloguing Bug 25248: (bug 23463 follow-up) Item is returned if deletion successful, not 1 2020-04-27 10:56:52 +01:00
circ Bug 24298: (RM follow-up) Re-introduce TransferTrigger drop through 2020-04-27 14:24:31 +01:00
clubs
course_reserves
debian Bug 23137: Add documentation 2020-04-29 17:02:11 +01:00
docs
errors
etc Bug 25032: Add 'api' target to log4perl.conf 2020-04-29 16:23:56 +01:00
ill
installer Bug 21294: Replace BOOLEAN with TINYINT(1) in our DB structure 2020-04-29 16:58:45 +01:00
Koha Bug 23137: Move cache flushing to the method 2020-04-29 17:02:15 +01:00
koha-tmpl Bug 25281: Use modal confirmation when deleting a list in the OPAC 2020-04-29 17:03:41 +01:00
labels
members Bug 5161: Keep patron's attributes on warning/duplicate 2020-04-27 11:28:46 +01:00
misc Bug 23137: Move cache flushing to the method 2020-04-29 17:02:15 +01:00
offline_circ
opac Bug 25009: Avoid leakages in opac-showmarc.pl 2020-04-27 10:44:10 +01:00
patron_lists
patroncards
plugins
pos
reports
reserve
reviews
rotating_collections
serials
services
skel
suggestion
svc
t Bug 23137: Move cache flushing to the method 2020-04-29 17:02:15 +01:00
tags
tmp/modified_authorities
tools
virtualshelves Bug 23084: Replace grep {^$var$} with grep {$_ eq $var} 2020-02-17 10:44:45 +00:00
xt Bug 24897: (RM follow-up) Drop tests for es-ES notices 2020-04-28 06:55:56 +01:00
.editorconfig
.eslintrc.json
.gitignore
.htaccess
.mailmap
.scss-lint.yml
about.pl Bug 25172: Identify and display possible problems on the about page 2020-04-22 13:44:12 +01:00
changelanguage.pl
cpanfile
fix-perl-path.PL
gulpfile.js
help.pl
INSTALL
Koha.pm Bug 23081: DBRev 19.12.00.080 2020-04-27 11:34:29 +01:00
koha_perl_deps.pl
kohaversion.pl
LICENSE Bug 9440 - update Koha's LICENSE file from GPL2 to GPL3 2013-02-12 08:52:10 -05:00
mainpage.pl
Makefile.PL
MANIFEST.SKIP
package.json
README
README.md
README.robots
rewrite-config.PL
yarn.lock

Koha is a free software integrated library system (ILS).

Koha is distributed under the GNU GPL version 3 or later.

Note: This is a synced mirror of the official Koha repo.

Note: Koha does not accept pull requests from git hosting sites.

Note: This project has its own bug tracker, to report a bug or submit a patch visit http://bugs.koha-community.org.

For guidelines on submitting patches for Koha please visit https://wiki.koha-community.org/wiki/SubmitingAPatch

The developers handbook can be found at https://wiki.koha-community.org/wiki/Developer_handbook

http://koha-community.org/

Koha Logo