From 1ca9b73832c1ca685fdba85f2be354e855bc0b5c Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 19 Nov 2008 08:31:45 -0500 Subject: [PATCH] Updated Bugs-Everywhere-Web to work with new architecture. --- Bugs-Everywhere-Web/README.txt | 5 ++++- Bugs-Everywhere-Web/beweb/controllers.py | 2 +- Bugs-Everywhere-Web/beweb/templates/bugs.kid | 2 +- Bugs-Everywhere-Web/beweb/templates/edit_bug.kid | 6 +++--- Bugs-Everywhere-Web/beweb/templates/projects.kid | 2 +- 5 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Bugs-Everywhere-Web/README.txt b/Bugs-Everywhere-Web/README.txt index efde8ff..dada74f 100644 --- a/Bugs-Everywhere-Web/README.txt +++ b/Bugs-Everywhere-Web/README.txt @@ -1,4 +1,7 @@ Bugs-Everywhere-Web +Configure by creating an appropriate beweb/config.py from +beweb/config.py.example. + This is a TurboGears (http://www.turbogears.org) project. It can be -started by running the start-beweb.py script. \ No newline at end of file +started by running the start-beweb.py script. diff --git a/Bugs-Everywhere-Web/beweb/controllers.py b/Bugs-Everywhere-Web/beweb/controllers.py index 393f105..a64156f 100644 --- a/Bugs-Everywhere-Web/beweb/controllers.py +++ b/Bugs-Everywhere-Web/beweb/controllers.py @@ -4,7 +4,7 @@ import cherrypy import turbogears from turbogears import controllers, expose, validate, redirect, identity -from libbe.bugdir import tree_root, new_comment, NoRootEntry +from libbe.bugdir import tree_root, NoRootEntry from config import projects from prest import PrestHandler, provide_action diff --git a/Bugs-Everywhere-Web/beweb/templates/bugs.kid b/Bugs-Everywhere-Web/beweb/templates/bugs.kid index 376e77b..198aa94 100644 --- a/Bugs-Everywhere-Web/beweb/templates/bugs.kid +++ b/Bugs-Everywhere-Web/beweb/templates/bugs.kid @@ -1,6 +1,6 @@ - +
StatusSeverityAssigned ToSummary
${select_among("status", active_status+inactive_status, bug.status)}${select_among("severity", severity_levels, bug.severity)}
${select_among("status", status_values, bug.status)}${select_among("severity", severity_values, bug.severity)} ${select_among("assigned", people.keys()+[None], bug.assigned, people)}
- +
From${comment.From}
Date${time_to_str(comment.date)}
Date${time_to_str(comment.time)}
Edit diff --git a/Bugs-Everywhere-Web/beweb/templates/projects.kid b/Bugs-Everywhere-Web/beweb/templates/projects.kid index 09bde77..d5f9fd3 100644 --- a/Bugs-Everywhere-Web/beweb/templates/projects.kid +++ b/Bugs-Everywhere-Web/beweb/templates/projects.kid @@ -1,6 +1,6 @@ ' % name] for option in options: -- 2.26.2