NIHVIVO-2306 Changed default theme to vitro and updated default label to "vitro".
This commit is contained in:
parent
94acda3b51
commit
1777aec82c
2 changed files with 3 additions and 6 deletions
|
@ -26,11 +26,8 @@ public class DefaultThemeSetup implements ServletContextListener {
|
|||
ArrayList<String> themeNames = ThemeUtils.getThemes(sc, doSort);
|
||||
|
||||
String defaultTheme;
|
||||
if (themeNames.contains("enhanced")) {
|
||||
defaultTheme = "enhanced";
|
||||
}
|
||||
else if (themeNames.contains("default")) {
|
||||
defaultTheme = "default";
|
||||
if (themeNames.contains("vitro")) {
|
||||
defaultTheme = "vitro";
|
||||
}
|
||||
else {
|
||||
defaultTheme = themeNames.get(0);
|
||||
|
|
|
@ -88,7 +88,7 @@ public class InitialJenaModelUtils {
|
|||
throw new RuntimeException("No default theme has been set; unable to create default portal.");
|
||||
}
|
||||
portal1.setPropertyValue(themeDirProperty,ResourceFactory.createPlainLiteral(defaultThemeStr));
|
||||
portal1.setLabel("New Vitro Portal", null);
|
||||
portal1.setLabel("Vitro", null);
|
||||
return essentialInterfaceData;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue