Bug 26630: Add OpacSuggestionInstructions options to News
authorLucas Gass <lucas@bywatersolutions.com>
Wed, 18 Nov 2020 23:44:43 +0000 (23:44 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 21 Jan 2021 14:56:02 +0000 (15:56 +0100)
commit9e52f554f4a09e8d7da53011aa1703950e5497de
tree2f89133340f9cd3b5aa506f74408268374738ad3
parentc32111642aa8ddae65aca44fafd9c724dbcddc51
Bug 26630: Add OpacSuggestionInstructions options to News

Test plan:
1. Apply patch
2. Go to /cgi-bin/koha/tools/koha-news.pl and create 'New entry' with a dsiplay location of OpacSuggestionInstructions
3. Login to the OPAC and go to the purchase suggestion page (/cgi-bin/koha/opac-suggestions.pl)
4. Your new content should be there.
5. Delete the OpacSuggestionInstructions news entry.
6. Re-load the OPAC purchase suggestion page and the original text will be restored.

Signed-off-by: Kelly McElligott <kelly@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt