From 177846d2d5496ea47bed461afa63b7d07e9d5e3c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 28 Sep 2015 13:25:23 +0100 Subject: [PATCH] Bug 13696: Add new pref IconTheme This will permit to choose the icon theme to use: Glyphicons (default) or Font-Awesome. --- .../data/mysql/atomicupdate/bug_13696_add_icon_theme_pref.sql | 2 ++ installer/data/mysql/sysprefs.sql | 1 + .../prog/en/modules/admin/preferences/staff_client.pref | 7 +++++++ 3 files changed, 10 insertions(+) create mode 100644 installer/data/mysql/atomicupdate/bug_13696_add_icon_theme_pref.sql diff --git a/installer/data/mysql/atomicupdate/bug_13696_add_icon_theme_pref.sql b/installer/data/mysql/atomicupdate/bug_13696_add_icon_theme_pref.sql new file mode 100644 index 0000000..165c9ef --- /dev/null +++ b/installer/data/mysql/atomicupdate/bug_13696_add_icon_theme_pref.sql @@ -0,0 +1,2 @@ +INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) +VALUES ('IconTheme', 'Glyphicons', 'Glyphicons|Font-Awesome', 'Icon theme', 'Choice') diff --git a/installer/data/mysql/sysprefs.sql b/installer/data/mysql/sysprefs.sql index 88a1f5f..61d9d4c 100644 --- a/installer/data/mysql/sysprefs.sql +++ b/installer/data/mysql/sysprefs.sql @@ -151,6 +151,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('HomeOrHoldingBranch','holdingbranch','holdingbranch|homebranch','Used by Circulation to determine which branch of an item to check with independent branches on, and by search to determine which branch to choose for availability ','Choice'), ('HTML5MediaEnabled','not','not|opac|staff|both','Show a tab with a HTML5 media player for files catalogued in field 856','Choice'), ('HTML5MediaExtensions','webm|ogg|ogv|oga|vtt','','Media file extensions','free'), +('IconTheme', 'Glyphicons', 'Glyphicons|Font-Awesome', 'Icon theme', 'Choice'), ('IDreamBooksReadometer','0','','Display Readometer from IDreamBooks.com','YesNo'), ('IDreamBooksResults','0','','Display IDreamBooks.com rating in search results','YesNo'), ('IDreamBooksReviews','0','','Display book review snippets from IDreamBooks.com','YesNo'), diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref index 9dfafd6..d053e00 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_client.pref @@ -91,6 +91,13 @@ Staff Client: - pref: SlipCSS class: url - on Issue and Reserve Slips. (This should be a complete URL, starting with http://.) + - + - Use + - pref: IconTheme + choices: + Glyphicons: Glyphicons + Font-Awesome: Font-Awesome + - icon set. Options: - - pref: viewMARC -- 2.1.0