Bug 27948: Add disclaimer to article request
authorAgustin Moyano <agustinmoyano@theke.io>
Wed, 26 May 2021 19:00:32 +0000 (16:00 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 12 Jul 2021 13:47:33 +0000 (15:47 +0200)
commit5ff5863d8b1d0129d8f8b1b0b2177de1c03d95b1
treed2681e56d735fcc5c4f329cf98789b2c0953a89c
parentd9ef08365fc0742b5b11b2220b60d812317ec13d
Bug 27948: Add disclaimer to article request

If ArticleRequestsDisclaimerText news is set, a disclaimer text will appear before an article request can be made

To test:
1. apply patches
2. enable ArticleRequest syspref
3. in OPAC place an article request for a patron
CHECK => No disclaimer text should appear before placing article request
4. add a text in ArticleRequestsDisclaimerText news
5. repeat step 3
SUCCESS => A disclaimer text is shown before you can place an article request

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
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-request-article.tt
opac/opac-request-article.pl