]> source.dussan.org Git - gitblit.git/commitdiff
Fix diffstat display for tickets with pending submodule changes 47/47/1
authorJames Moger <james.moger@gitblit.com>
Mon, 14 Apr 2014 16:28:23 +0000 (12:28 -0400)
committerJames Moger <james.moger@gitblit.com>
Mon, 14 Apr 2014 16:28:23 +0000 (12:28 -0400)
src/main/java/com/gitblit/wicket/pages/TicketPage.java

index e4bb41fd9998101d99e8145d33c31e4225681d7f..c8626c29bedd34bf6abbb71bf84fd43c6fceb29e 100644 (file)
@@ -1141,7 +1141,6 @@ public class TicketPage extends TicketBasePage {
                                WicketUtils.setChangeTypeCssClass(changeType, entry.changeType);\r
                                setChangeTypeTooltip(changeType, entry.changeType);\r
                                item.add(changeType);\r
-                               item.add(new DiffStatPanel("diffStat", entry.insertions, entry.deletions, true));\r
 \r
                                boolean hasSubmodule = false;\r
                                String submodulePath = null;\r
@@ -1184,6 +1183,7 @@ public class TicketPage extends TicketBasePage {
                                                item.add(new LinkPanel("pathName", "list", displayPath, BlobDiffPage.class,\r
                                                                WicketUtils.newPathParameter(repositoryName, currentPatchset.tip, path), true));\r
                                        }\r
+                                       item.add(new DiffStatPanel("diffStat", entry.insertions, entry.deletions, true));\r
                                }\r
 \r
                                // quick links\r