From a98ebb22fd088bbc2e40d752b065e4eb2210a734 Mon Sep 17 00:00:00 2001 From: James Moger Date: Fri, 2 May 2014 10:14:29 -0400 Subject: Fix open milestone progress display --- src/main/java/com/gitblit/wicket/pages/TicketsPage.html | 2 +- src/main/java/com/gitblit/wicket/pages/TicketsPage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/main/java/com/gitblit/wicket/pages/TicketsPage.html b/src/main/java/com/gitblit/wicket/pages/TicketsPage.html index 40060f36..b0f8968e 100644 --- a/src/main/java/com/gitblit/wicket/pages/TicketsPage.html +++ b/src/main/java/com/gitblit/wicket/pages/TicketsPage.html @@ -122,7 +122,7 @@

-
+
diff --git a/src/main/java/com/gitblit/wicket/pages/TicketsPage.java b/src/main/java/com/gitblit/wicket/pages/TicketsPage.java index d88ccb6b..dfa7b021 100644 --- a/src/main/java/com/gitblit/wicket/pages/TicketsPage.java +++ b/src/main/java/com/gitblit/wicket/pages/TicketsPage.java @@ -576,7 +576,7 @@ public class TicketsPage extends RepositoryPage { Fragment milestonePanel = new Fragment("milestonePanel", "openMilestoneFragment", this); Label label = new Label("progress"); - WicketUtils.setCssStyle(label, "width:" + tm.getProgress() + "%;"); + WicketUtils.setCssStyle(label, "width:" + m.getProgress() + "%;"); milestonePanel.add(label); milestonePanel.add(new LinkPanel("openTickets", null, -- cgit v1.2.3