Skip to content

Commit ff52a4e

Browse files
Add page title (#67)
1 parent e3641dd commit ff52a4e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/org/labkey/trialshare/TrialShareController.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -774,7 +774,7 @@ public URLHelper getSuccessURL(CubeAdminForm form)
774774
@Override
775775
public NavTree appendNavTrail(NavTree root)
776776
{
777-
return null;
777+
return root.addChild("Data Cube Administration");
778778
}
779779
}
780780

@@ -1539,7 +1539,7 @@ public ModelAndView getView(CubeObjectNameForm form, BindException errors) throw
15391539
@Override
15401540
public NavTree appendNavTrail(NavTree root)
15411541
{
1542-
return null;
1542+
return root.addChild("Manage Data");
15431543
}
15441544
}
15451545

@@ -1819,7 +1819,7 @@ public NavTree appendNavTrail(NavTree root)
18191819
}
18201820
catch (IllegalArgumentException ignore) {} // Don't throw because of bad user input
18211821
}
1822-
return root;
1822+
return (root.hasChildren() ? root : root.addChild(StringUtils.capitalize(getMode()) + " Data"));
18231823
}
18241824
}
18251825

0 commit comments

Comments
 (0)