]> git.koha-community.org Git - koha.git/commit
Bug 17381: Add system preference SCOMainUserBlock
authorMarc Véron <veron@veron.ch>
Mon, 21 Aug 2017 13:27:20 +0000 (15:27 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 25 Oct 2017 15:14:42 +0000 (12:14 -0300)
commit8bb8decf0122d67d20bd870d313b42bea63564fa
treeaf85752bbe593440b235775a888a8b77c19fb693
parentc2b9b3f8312f4d33f0e9cecfccb125af7a05415c
Bug 17381: Add system preference SCOMainUserBlock

This patch adds a system preference SCOMainUserBlock to display custom HTML
on the self checkout page.

To test:
- Set up self checkout (see section Self Checkout in Circulaton sysprefs )
- Apply patch
- Update db
- Add some HTML system preference SCOMainUserBlock
- Go to sco page
- Verify that HTML displays on page (logged in and not logged in)

New version based on Koha.Preference TT plugin as of comment #7
Depends on Bug 12691

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_17381_SCOMainUserBlock.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
koha-tmpl/opac-tmpl/bootstrap/en/modules/sco/sco-main.tt