summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2014-04-14 10:31:56 -0600
committerJames Moger <james.moger@gitblit.com>2014-04-14 10:31:56 -0600
commitd3b1e34c7428fbe4ef3abeee9eaef0f885c3f19b (patch)
tree32fd52efb327a3476aa316729003c2354b56d001
parent24be4953f79738af41182ca9ab89a6e5e5208f3f (diff)
parentbbd8202815f0f9f61a9e854960a47178316e5514 (diff)
downloadgitblit-d3b1e34c7428fbe4ef3abeee9eaef0f885c3f19b.tar.gz
gitblit-d3b1e34c7428fbe4ef3abeee9eaef0f885c3f19b.zip
Merged #47 "Fix diffstat display for tickets with pending submodule changes"
-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