Skip to content
Snippets Groups Projects
Commit 32b393a9 authored by Demian Katz's avatar Demian Katz
Browse files

Changed default theme to bootprint3.

parent c23e7bb0
No related merge requests found
......@@ -23,11 +23,11 @@ email = support@myuniversity.edu
title = "Library Catalog"
; This is the default theme for non-mobile devices (or all devices if mobile_theme
; is disabled below). Available standard themes:
; blueprint = XHTML theme using Blueprint + jQuery libraries
; blueprint = XHTML theme using Blueprint + jQuery libraries [deprecated]
; bootstrap3 = HTML5 theme using Bootstrap 3 + jQuery libraries, with minimal
; styling
; bootprint3 = bootstrap3 theme styled to resemble blueprint theme
theme = blueprint
; bootprint3 = bootstrap3 theme styled to resemble old blueprint theme
theme = bootprint3
; Uncomment the following line to use a different default theme for mobile devices.
; You may not wish to use this setting if you are using one of the Bootstrap-based
; standard themes since they support responsive design. Available mobile theme:
......@@ -82,8 +82,7 @@ defaultAccountPage = Favorites
admin_enabled = false
; Show sidebar on the left side instead of right
sidebarOnLeft = false
; Show (true) / Hide (false) Book Bag - Default is Hide. The Book Bag is currently
; only supported by the blueprint theme; other themes will ignore this setting.
; Show (true) / Hide (false) Book Bag - Default is Hide.
showBookBag = false
; Set the maximum amount of items allowed in the Book Bag - Default is 100
bookBagMaxSize = 100
......@@ -1081,7 +1080,6 @@ HMACkey = mySuperSecretValue
; This section controls the "Collections" module -- the special view for records
; that represent collections, and the mechanism for browsing these records.
; Collections are only supported in the blueprint and jquerymobile themes.
;[Collections]
; Control whether or not the collections module is enabled in search results.
; If set to true any search results which are collection level items will
......
......@@ -575,7 +575,7 @@ class Upgrade
unset($newConfig['Index']['local']);
// Warn the user if they are using an unsupported theme:
$this->checkTheme('theme', 'blueprint');
$this->checkTheme('theme', 'bootprint3');
$this->checkTheme('mobile_theme', 'jquerymobile');
// Translate legacy auth settings:
......
......@@ -47,7 +47,7 @@ class CartTest extends \VuFindTest\Unit\MinkTestCase
{
// Activate the cart:
$this->changeConfigs(
['config' => ['Site' => ['showBookBag' => true]]]
['config' => ['Site' => ['showBookBag' => true, 'theme' => 'blueprint']]]
);
$session = $this->getMinkSession();
......@@ -60,10 +60,12 @@ class CartTest extends \VuFindTest\Unit\MinkTestCase
$updateCart = $page->find('css', '#updateCart');
$this->assertTrue(is_object($updateCart));
$updateCart->click();
$content = $page->find('css', '#contextHelpContent');
$this->assertTrue(is_object($content));
$this->assertEquals(
'No items were selected. '
. 'Please click on a checkbox next to an item and try again.',
$page->find('css', '#contextHelpContent')->getText()
$content->getText()
);
// Now actually select something:
......
......@@ -101,7 +101,7 @@ class UpgradeTest extends \VuFindTest\Unit\TestCase
$this->assertEquals(
"WARNING: This version of VuFind does not support "
. "the default theme. Your config.ini [Site] theme setting "
. "has been reset to the default: blueprint. You may need to "
. "has been reset to the default: bootprint3. You may need to "
. "reimplement your custom theme.",
$warnings[0]
);
......
......@@ -100,6 +100,6 @@ class Module
*/
public static function getThemeInfo()
{
return new ThemeInfo(realpath(__DIR__ . '/../../themes'), 'blueprint');
return new ThemeInfo(realpath(__DIR__ . '/../../themes'), 'bootprint3');
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment