Skip to content

Commit

Permalink
Merge pull request #4211 from IQSS/4198-default-theme-inheritance
Browse files Browse the repository at this point in the history
New dataverse should use the default theme on create screen #4189
  • Loading branch information
kcondon authored Oct 19, 2017
2 parents 509f8b3 + bcbc5cc commit 6b53fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/main/java/edu/harvard/iq/dataverse/Dataverse.java
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ public void setDefaultContributorRole(DataverseRole defaultContributorRole) {

private boolean metadataBlockRoot;
private boolean facetRoot;
private boolean themeRoot;
// By default, themeRoot should be true, as new dataverses should start with the default theme
private boolean themeRoot = true;
private boolean templateRoot;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ public Dataverse execute(CommandContext ctxt) throws CommandException {
created.setDefaultContributorRole(ctxt.roles().findBuiltinRoleByAlias(DataverseRole.EDITOR));
}

// By default, themeRoot should be true
created.setThemeRoot(true);
// @todo for now we are saying all dataverses are permission root
created.setPermissionRoot(true);

Expand Down

0 comments on commit 6b53fa1

Please sign in to comment.