]> source.dussan.org Git - gitblit.git/commitdiff
Fix open milestone progress display
authorJames Moger <james.moger@gitblit.com>
Fri, 2 May 2014 14:14:29 +0000 (10:14 -0400)
committerJames Moger <james.moger@gitblit.com>
Fri, 2 May 2014 14:14:29 +0000 (10:14 -0400)
src/main/java/com/gitblit/wicket/pages/TicketsPage.html
src/main/java/com/gitblit/wicket/pages/TicketsPage.java

index 40060f36605617adf795d2b4db772ce5e6e86d34..b0f8968eb48994a22fa1913858d1c4a7cc35e8e5 100644 (file)
                        <div class="span12"><hr/></div>\r
                </div>          \r
                <div class="row">\r
-                       <div class="span4" wicket:id="closedMilestonesList" style="padding-bottom: 15px;">\r
+                       <div class="span3" wicket:id="closedMilestonesList" style="padding-bottom: 15px;">\r
                                <div wicket:id="entryPanel"></div>\r
                        </div>\r
                </div>\r
index d88ccb6b406a1ce9f7bc5967816543442cd98ef6..dfa7b0215a7c58063c3e1c2e6fd567a195ec0938 100644 (file)
@@ -576,7 +576,7 @@ public class TicketsPage extends RepositoryPage {
 \r
                                        Fragment milestonePanel = new Fragment("milestonePanel", "openMilestoneFragment", this);\r
                                        Label label = new Label("progress");\r
-                                       WicketUtils.setCssStyle(label, "width:" + tm.getProgress() + "%;");\r
+                                       WicketUtils.setCssStyle(label, "width:" + m.getProgress() + "%;");\r
                                        milestonePanel.add(label);\r
 \r
                                        milestonePanel.add(new LinkPanel("openTickets", null,\r