From bbd8202815f0f9f61a9e854960a47178316e5514 Mon Sep 17 00:00:00 2001 From: James Moger Date: Mon, 14 Apr 2014 12:28:23 -0400 Subject: [PATCH] Fix diffstat display for tickets with pending submodule changes --- src/main/java/com/gitblit/wicket/pages/TicketPage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5