|
|
|
|
|
|
|
|
// navigation links
|
|
|
// navigation links
|
|
|
List<PageRegistration> pages = new ArrayList<PageRegistration>();
|
|
|
List<PageRegistration> pages = new ArrayList<PageRegistration>();
|
|
|
if (!authenticateView || (authenticateView && GitBlitWebSession.get().isLoggedIn())) {
|
|
|
if (!authenticateView || (authenticateView && GitBlitWebSession.get().isLoggedIn())) {
|
|
|
pages.add(new PageRegistration("gb.dashboard", DashboardPage.class,
|
|
|
|
|
|
|
|
|
pages.add(new PageRegistration(GitBlitWebSession.get().isLoggedIn() ? "gb.myDashboard" : "gb.dashboard", DashboardPage.class,
|
|
|
getRootPageParameters()));
|
|
|
getRootPageParameters()));
|
|
|
pages.add(new PageRegistration("gb.repositories", RepositoriesPage.class,
|
|
|
pages.add(new PageRegistration("gb.repositories", RepositoriesPage.class,
|
|
|
getRootPageParameters()));
|
|
|
getRootPageParameters()));
|