summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-04-14 12:28:23 -0400
committerJames Moger <james.moger@gitblit.com>2014-04-14 12:28:23 -0400
commitbbd8202815f0f9f61a9e854960a47178316e5514 (patch)
tree32fd52efb327a3476aa316729003c2354b56d001 /src
parent24be4953f79738af41182ca9ab89a6e5e5208f3f (diff)
downloadgitblit-bbd8202815f0f9f61a9e854960a47178316e5514.tar.gz
gitblit-bbd8202815f0f9f61a9e854960a47178316e5514.zip
Fix diffstat display for tickets with pending submodule changes
Diffstat (limited to 'src')
-rw-r--r--src/main/java/com/gitblit/wicket/pages/TicketPage.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/TicketPage.java b/src/main/java/com/gitblit/wicket/pages/TicketPage.java
index e4bb41fd..c8626c29 100644
--- a/src/main/java/com/gitblit/wicket/pages/TicketPage.java
+++ b/src/main/java/com/gitblit/wicket/pages/TicketPage.java
@@ -1141,7 +1141,6 @@ public class TicketPage extends TicketBasePage {
WicketUtils.setChangeTypeCssClass(changeType, entry.changeType);
setChangeTypeTooltip(changeType, entry.changeType);
item.add(changeType);
- item.add(new DiffStatPanel("diffStat", entry.insertions, entry.deletions, true));
boolean hasSubmodule = false;
String submodulePath = null;
@@ -1184,6 +1183,7 @@ public class TicketPage extends TicketBasePage {
item.add(new LinkPanel("pathName", "list", displayPath, BlobDiffPage.class,
WicketUtils.newPathParameter(repositoryName, currentPatchset.tip, path), true));
}
+ item.add(new DiffStatPanel("diffStat", entry.insertions, entry.deletions, true));
}
// quick links