import com.gitblit.wicket.WicketUtils;\r
import com.gitblit.wicket.pages.BasePage;\r
import com.gitblit.wicket.pages.EditRepositoryPage;\r
-import com.gitblit.wicket.pages.EmptyRepositoryPage;\r
import com.gitblit.wicket.pages.ProjectPage;\r
import com.gitblit.wicket.pages.RepositoriesPage;\r
import com.gitblit.wicket.pages.SummaryPage;\r
swatch.setVisible(showSwatch);\r
\r
if (linksActive) {\r
- Class<? extends BasePage> linkPage;\r
- if (entry.hasCommits) {\r
- // repository has content\r
- linkPage = SummaryPage.class;\r
- } else {\r
- // new/empty repository OR proposed repository\r
- linkPage = EmptyRepositoryPage.class;\r
- }\r
-\r
+ Class<? extends BasePage> linkPage = SummaryPage.class;\r
PageParameters pp = WicketUtils.newRepositoryParameter(entry.name);\r
row.add(new LinkPanel("repositoryName", "list", repoName, linkPage, pp));\r
row.add(new LinkPanel("repositoryDescription", "list", entry.description,\r