Bug 9650

Summary: Show message if there are no notices
Product: Koha Reporter: Owen Leonard <oleonard>
Component: TemplatesAssignee: Owen Leonard <oleonard>
Status: CLOSED FIXED QA Contact: Jonathan Druart <jonathan.druart>
Severity: enhancement    
Priority: P5 - low CC: bgkriegel, jonathan.druart
Version: Main   
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:
Attachments: Bug 9650 - Show message if there are no notices
[SIGNED-OFF] Bug 9650 - Show message if there are no notices
Bug 9650 - Show message if there are no notices
Bug 9650 - Show message if there are no notices

Description Owen Leonard 2013-02-17 00:08:43 UTC
If there are no notices or no notices for a selected library the interface should display a message saying so instead of showing an empty table.
Comment 1 Owen Leonard 2013-02-17 00:17:14 UTC Comment hidden (obsolete)
Comment 2 Bernardo Gonzalez Kriegel 2013-02-17 14:24:04 UTC Comment hidden (obsolete)
Comment 3 Jonathan Druart 2013-02-19 09:31:29 UTC
QA comment:
This patch displays a message if there are no notices instead of an empty table.
Marked as Passed QA.
Comment 4 Jonathan Druart 2013-02-19 09:31:40 UTC Comment hidden (obsolete)
Comment 5 Jonathan Druart 2013-02-19 09:32:04 UTC
Created attachment 15529 [details] [review]
Bug 9650 - Show message if there are no notices

When there are no notices for the selected library, the
interface displays a table header with an empty table.

This patch adds a message which appears when there are no
notices for the selected library, or if no library selected
and there are no notices at all.

To test, visit the notices and slips page and
select a library for which there are no notices. A message
should be displayed, "There are no notices for this library."

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>

Comment: Work as described. No errors.
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Comment 6 Jared Camins-Esakov 2013-02-20 13:25:50 UTC
This patch has been pushed to master.