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.
Created attachment 15434 [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."
Created attachment 15467 [details] [review] [SIGNED-OFF] 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.
QA comment: This patch displays a message if there are no notices instead of an empty table. Marked as Passed QA.
Created attachment 15528 [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.
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>
This patch has been pushed to master.