summaryrefslogtreecommitdiffstats
path: root/src/com/gitblit/wicket/pages/RepositoryPage.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/com/gitblit/wicket/pages/RepositoryPage.java')
-rw-r--r--src/com/gitblit/wicket/pages/RepositoryPage.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/com/gitblit/wicket/pages/RepositoryPage.java b/src/com/gitblit/wicket/pages/RepositoryPage.java
index 77918ea4..080a7723 100644
--- a/src/com/gitblit/wicket/pages/RepositoryPage.java
+++ b/src/com/gitblit/wicket/pages/RepositoryPage.java
@@ -156,9 +156,11 @@ public abstract class RepositoryPage extends BasePage {
if (getRepositoryModel().isBare) {
add(new Label("workingCopy").setVisible(false));
} else {
+ Fragment fragment = new Fragment("workingCopy", "workingCopyFragment", this);
Label lbl = new Label("workingCopy", getString("gb.workingCopy"));
WicketUtils.setHtmlTooltip(lbl, getString("gb.workingCopyWarning"));
- add(lbl);
+ fragment.add(lbl);
+ add(fragment);
}
super.setupPage(repositoryName, pageName);