Skip to content

Commit

Permalink
Merge pull request #340 from devgateway/fix/OCMAKU-366
Browse files Browse the repository at this point in the history
OCMAKU-366 Hide certain admin settings that are not used at all
  • Loading branch information
lilitk authored Oct 14, 2019
2 parents 249118b + 200b260 commit f713dc6
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,18 @@ protected void onInitialize() {
editForm.add(disableApiSecurity);

enableDailyAutomatedImport = new CheckBoxToggleBootstrapFormComponent("enableDailyAutomatedImport");
enableDailyAutomatedImport.setVisibilityAllowed(false);
editForm.add(enableDailyAutomatedImport);

disableEmailAlerts = new CheckBoxToggleBootstrapFormComponent("disableEmailAlerts");
editForm.add(disableEmailAlerts);

adminEmail = new TextFieldBootstrapFormComponent<>("adminEmail");
adminEmail.setVisibilityAllowed(false);
editForm.add(adminEmail);

importFilesPath = new TextFieldBootstrapFormComponent<>("importFilesPath");
importFilesPath.setVisibilityAllowed(false);
editForm.add(importFilesPath);

addCacheClearLink();
Expand Down

0 comments on commit f713dc6

Please sign in to comment.