if (!authenticateView || (authenticateView && isLoggedIn)) {\r
pages.add(new PageRegistration(isLoggedIn ? "gb.myDashboard" : "gb.dashboard", MyDashboardPage.class,\r
getRootPageParameters()));\r
+ if (isLoggedIn && app().tickets().isReady()) {\r
+ pages.add(new PageRegistration("gb.mytickets", MyTicketsPage.class));\r
+ }\r
pages.add(new PageRegistration("gb.repositories", RepositoriesPage.class,\r
getRootPageParameters()));\r
pages.add(new PageRegistration("gb.activity", ActivityPage.class, getRootPageParameters()));\r
- if(isLoggedIn)\r
- {\r
- pages.add(new PageRegistration("gb.mytickets", MyTicketsPage.class, getRootPageParameters()));\r
- }\r
if (allowLucene) {\r
pages.add(new PageRegistration("gb.search", LuceneSearchPage.class));\r
}\r