Koha/koha-tmpl/intranet-tmpl/prog/en/modules/tools
Owen Leonard f5fcd2a55e Bug 29019: Unable to delete HTML customization
This patch makes some corrections to additional contents to allow
content to be deleted. The wrong parameter was being passed to the
script. The script was also not handling multiple deletions correctly.

The patch also adds a "category" parameter to the delete operation so
that the page is redirected correctly.

The patch also changes some strings which referred to "news"
referencing operations which might be performed on news or on HTML
customizations, e.g.:

"Are you sure you want to delete the selected content?" instead of "Are
you sure you want to delete the selected news?"

To test, apply the patch and go to Tools -> News.

- Create multiple news items if necessary.
- Test the "Delete" button corresponding to a single news item:
  - Clicking the button should ask you to confirm.
  - Check that the wording of the message is correct.
  - After confirming the news item should be deleted.
  - Ideally, test on news items which are on the second page of the
    DataTable of news items.
- Test the process of deleting multiple news items at once:
  - Check the checkbox next to multiple items.
  - Click the "Delete selected" button at the bottom of the page.
  - Check that the wording of the confirmation message is correct.
  - After you confirm, the items should be deleted.
- Repeat these tests under Tools -> HTML customizations to confirm that
  redirects work correctly. After deleting an HTML customization you
  should be redirected back to the list of HTML customizations.

Signed-off-by: Caroline Cyr La Rose <caroline.cyr-la-rose@inlibro.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-09-28 15:12:45 +02:00
..
access_files.tt
additional-contents.tt Bug 29019: Unable to delete HTML customization 2021-09-28 15:12:45 +02:00
automatic_item_modification_by_age.tt
batch_delete_records.tt
batch_extend_due_dates.tt
batch_record_modification.tt
batchMod-del.tt Bug 28353: Display a list of items that cannot be deleted 2021-06-04 12:04:42 +02:00
batchMod-edit.tt Bug 27929: (QA follow-up) Hide tag editor on regex 2021-06-21 10:50:09 +02:00
batchMod.tt
cleanborrowers.tt Bug 28191: Upate wording on batch patron deletion 2021-06-21 10:50:09 +02:00
csv-profiles.tt
export.tt
holidays.tt
import_borrowers.tt Bug 27883: (follow-up) Make label match input id 2021-07-12 15:47:33 +02:00
inventory.tt
letter.tt
manage-marc-import.tt Bug 28843: Add view and edit buttons to result of MARC record import 2021-08-30 17:02:07 +02:00
marc_modification_templates.tt Bug 28418: Show template_id of MARC modification templates 2021-06-21 14:01:51 +02:00
modborrowers.tt Bug 24019: Patron batch modification based on borrowernumber 2021-08-30 17:02:07 +02:00
overduerules.tt
picture-upload.tt
preview_letter.tt
problem-reports.tt
quotes-upload.tt Bug 27942: Prevent XSS vulnerabilities in quote-upload 2021-05-26 09:26:56 +02:00
quotes.tt
scheduler.tt
showdiffmarc.tt
stage-marc-import.tt Bug 28839: Better texts in stage MARC for import 2021-08-18 15:01:36 +02:00
stockrotation.tt
tools-home.tt Bug 24387: Rename "News" with "Additional contents" 2021-08-16 11:55:55 +02:00
upload-images.tt
upload.tt Bug 28177: (follow-up) Add time to date column 2021-07-12 15:47:34 +02:00
viewlog.tt Bug 24190: Add acquisition logging 2021-09-21 20:22:57 +02:00