From 43b0a51403b4698903783377450690972fe7bc70 Mon Sep 17 00:00:00 2001
From: Aaron Bentley
Date: Thu, 29 Dec 2005 10:14:32 -0500
Subject: Removed debugging code
---
beweb/beweb/prest.py | 1 -
1 file changed, 1 deletion(-)
(limited to 'beweb')
diff --git a/beweb/beweb/prest.py b/beweb/beweb/prest.py
index 7de1290..e6b7cdf 100644
--- a/beweb/beweb/prest.py
+++ b/beweb/beweb/prest.py
@@ -56,7 +56,6 @@ class PrestHandler(object):
if action is not None:
return action(*new_args, **kwargs)
else:
- print child.__class__.__name__
return child.dispatch(*new_args, **kwargs)
def get_action(self, **kwargs):
--
cgit
From bb1b72847742ebe56682b0f7f2bd5a3d8037fc4b Mon Sep 17 00:00:00 2001
From: Aaron Bentley
Date: Mon, 2 Jan 2006 14:01:48 -0500
Subject: Fixed tense
---
beweb/beweb/templates/about.kid | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'beweb')
diff --git a/beweb/beweb/templates/about.kid b/beweb/beweb/templates/about.kid
index 212bc1d..45d0093 100644
--- a/beweb/beweb/templates/about.kid
+++ b/beweb/beweb/templates/about.kid
@@ -12,7 +12,7 @@
Bentley and Oleg Romanyshyn.
- Development was sponsored by
+ Development is sponsored by
Panoramic Feedback.
--
cgit
From 74df8a9003736ca76dee3b94433edd4e9e04dbc3 Mon Sep 17 00:00:00 2001
From: Aaron Bentley
Date: Mon, 2 Jan 2006 15:53:32 -0500
Subject: Added assignment of bugs to people to web UI
---
beweb/beweb/controllers.py | 6 +++++-
beweb/beweb/templates/bugs.kid | 3 ++-
beweb/beweb/templates/edit_bug.kid | 21 ++++++++++++++++++---
3 files changed, 25 insertions(+), 5 deletions(-)
(limited to 'beweb')
diff --git a/beweb/beweb/controllers.py b/beweb/beweb/controllers.py
index b0f13db..cbd0816 100644
--- a/beweb/beweb/controllers.py
+++ b/beweb/beweb/controllers.py
@@ -84,10 +84,14 @@ class Bug(PrestHandler):
raise cherrypy.HTTPRedirect(bug_url(bug_data['project'], bug.uuid))
@provide_action("action", "Update")
- def update(self, bug_data, bug, status, severity, summary, action):
+ def update(self, bug_data, bug, status, severity, summary, assigned,
+ action):
bug.status = status
bug.severity = severity
bug.summary = summary
+ if assigned == "":
+ assigned = None
+ bug.assigned = assigned
bug.save()
raise cherrypy.HTTPRedirect(bug_list_url(bug_data["project"]))
diff --git a/beweb/beweb/templates/bugs.kid b/beweb/beweb/templates/bugs.kid
index b8b2ff7..07d8dee 100644
--- a/beweb/beweb/templates/bugs.kid
+++ b/beweb/beweb/templates/bugs.kid
@@ -2,6 +2,7 @@
Bug list for ${project_name}
ID | Status | Severity | Assigned To | Summary |
-
Project list
diff --git a/beweb/beweb/templates/edit_bug.kid b/beweb/beweb/templates/edit_bug.kid
index 49dbe52..57f1940 100644
--- a/beweb/beweb/templates/edit_bug.kid
+++ b/beweb/beweb/templates/edit_bug.kid
@@ -3,14 +3,28 @@
from libbe.bugdir import severity_levels
from libbe.utility import time_to_str
from beweb.controllers import bug_list_url, comment_url
-def select_among(name, options, default):
+from beweb.config import people
+def select_among(name, options, default, display_names=None):
output = ['")
return XML("".join(output))
?>
@@ -27,7 +41,8 @@ def select_among(name, options, default):