The new item templates above the item edit form should only show, when at least one template has been defined.
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!