Bugzilla – Attachment 42916 Details for
Bug 13696
Add support for Font Awesome icons in Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 13696: Add new pref IconTheme
Bug-13696-Add-new-pref-IconTheme.patch (text/plain), 3.00 KB, created by
Jonathan Druart
on 2015-09-28 12:27:18 UTC
(
hide
)
Description:
Bug 13696: Add new pref IconTheme
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2015-09-28 12:27:18 UTC
Size:
3.00 KB
patch
obsolete
>From 177846d2d5496ea47bed461afa63b7d07e9d5e3c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 <code>http://</code>.) >+ - >+ - Use >+ - pref: IconTheme >+ choices: >+ Glyphicons: Glyphicons >+ Font-Awesome: Font-Awesome >+ - icon set. > Options: > - > - pref: viewMARC >-- >2.1.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 13696
:
35829
|
35881
|
36432
|
36433
|
36434
|
42916
|
42917
|
42931
|
42933
|
42934
|
44012
|
44037
|
44038
|
44039