Summary: | Only show template controls above item form if templates have been defined | ||
---|---|---|---|
Product: | Koha | Reporter: | Katrin Fischer <katrin.fischer> |
Component: | Cataloging | Assignee: | Kyle M Hall <kyle> |
Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
Severity: | minor | ||
Priority: | P5 - low | CC: | m.de.rooy |
Version: | Main | Keywords: | rel_22_11_candidate |
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
22.11.00
|
|
Bug Depends on: | 24606 | ||
Bug Blocks: | |||
Attachments: |
Bug 32188: Only show template controls above item form if templates have been defined
Bug 32188: Only show template controls above item form if templates have been defined |
Description
Katrin Fischer
2022-11-13 22:34:03 UTC
Created attachment 143843 [details] [review] Bug 32188: Only show template controls above item form if templates have been defined The new item templates above the item edit form should only show, when at least one template has been defined. Test Plan: 1) Browse to the item editor 2) Delete all templates 3) Note the template toolbar is displayed 4) Apply this patch 5) Reload the page, note the toolbar is not displayed 6) Create a new template, note the toolbar is now displayed 7) Delete that template, note the toolbar is no longer displayed Looking here... Created attachment 143846 [details] [review] Bug 32188: Only show template controls above item form if templates have been defined The new item templates above the item edit form should only show, when at least one template has been defined. Test Plan: 1) Browse to the item editor 2) Delete all templates 3) Note the template toolbar is displayed 4) Apply this patch 5) Reload the page, note the toolbar is not displayed 6) Create a new template, note the toolbar is now displayed 7) Delete that template, note the toolbar is no longer displayed Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Setting straight to PQA. Pushed to master for 22.11. Nice work everyone, thanks! |