Hey Vela,

On Monday 31 May 2010, velappan velappan wrote:
> Can I try to fix issue from my local environment.

Sure, if you are using the source based version of Agilo, you could try 
to apply the attached patch. It is against the latest release of Agilo 
(0.9), so I'd be surprised if it applies to 0.7.4 cleanly. You should 
probably consider updating if you want to fix this issue (and many other 
issues along the way).


Robert

-- 
Follow Agilo on Twitter: http://twitter.com/agiloforscrum
Please support us by reviewing and voting on: 
http://userstories.com/products/8-agilo-for-scrum 
http://ohloh.net/p/agilo-scrum 
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Scrum" Google Group. This group is focused on
supporting Agilo for Scrum users and is moderated by
agile42 GmbH <http://www.agile42.com>.

To post to this group, send email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo
From 87905cac0e2b6a1483aba8469aa62a7d385b2c3f Mon Sep 17 00:00:00 2001
From: fschwarz <fschw...@f25a9734-2900-4ddf-99e6-6c65923014c0>
Date: Thu, 27 May 2010 10:11:05 +0000
Subject: [PATCH] closes #912 - just calculate the numbers correctly...

git-svn-id: https://svn.agile42.com/svn/agilo/tr...@2905 f25a9734-2900-4ddf-99e6-6c65923014c0
---
 .../sprint/templates/agilo_sprint_confirm.html     |    4 ++--
 agilo/scrum/sprint/web_ui.py                       |    1 +
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/agilo/scrum/sprint/templates/agilo_sprint_confirm.html b/agilo/scrum/sprint/templates/agilo_sprint_confirm.html
index 4e8e51b..cc0d763 100644
--- a/agilo/scrum/sprint/templates/agilo_sprint_confirm.html
+++ b/agilo/scrum/sprint/templates/agilo_sprint_confirm.html
@@ -24,8 +24,8 @@
       <h1>${delete_or_close(delete_confirmation)} sprint "${sprint.name}"</h1>
       <h2>Are you sure you want to ${delete_or_close(delete_confirmation)} this sprint?</h2>
       <form name="confirmform" action="" method="post">
-        <p py:if="(planned_tickets - closed_tickets) != 0">
-          Retarget the ${planned_tickets - closed_tickets} remaining tickets to sprint
+        <p py:if="(open_tickets) > 0">
+          Retarget the ${open_tickets} remaining tickets to sprint
           <select name="retarget">
             <option value="">None</option>
             <option py:for="sprint in sprints">${sprint}</option>
diff --git a/agilo/scrum/sprint/web_ui.py b/agilo/scrum/sprint/web_ui.py
index 48777be..5274185 100644
--- a/agilo/scrum/sprint/web_ui.py
+++ b/agilo/scrum/sprint/web_ui.py
@@ -97,6 +97,7 @@ class SprintDisplayView(view.HTTPView):
         nr_new, nr_planned, nr_closed = self.controller.process_command(cmd_stats)
         data['planned_tickets'] = nr_new
         data['in_progres_tickets'] = nr_planned
+        data['open_tickets'] = nr_new + nr_planned
         data['closed_tickets'] = nr_closed
         
         rm = AgiloRoadmapModule(self.env)
-- 
1.6.4.4

Reply via email to