From: James Moger Date: Mon, 14 Apr 2014 16:28:23 +0000 (-0400) Subject: Fix diffstat display for tickets with pending submodule changes X-Git-Tag: v1.5.0~53^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Ftickets%2F47%2F47%2F1;p=gitblit.git Fix diffstat display for tickets with pending submodule changes --- 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