From: Aaron Bentley Date: Tue, 11 Apr 2006 20:41:47 +0000 (-0400) Subject: Use people listings from identity framework, not config, on bug pages. X-Git-Tag: 1.0.0~190^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ec4b4a390bff3a0225681380ae949e6da64401c6;p=be.git Use people listings from identity framework, not config, on bug pages. --- diff --git a/Bugs-Everywhere-Web/beweb/model.py b/Bugs-Everywhere-Web/beweb/model.py index 33d2d2f..2bda299 100644 --- a/Bugs-Everywhere-Web/beweb/model.py +++ b/Bugs-Everywhere-Web/beweb/model.py @@ -6,5 +6,8 @@ from turbogears.identity.soprovider import TG_User, TG_Group, TG_Permission hub = PackageHub("beweb") __connection__ = hub +def people_map(): + return dict([(u.userId, u.displayName) for u in TG_User.select()]) + # class YourDataClass(SQLObject): # pass diff --git a/Bugs-Everywhere-Web/beweb/templates/bugs.kid b/Bugs-Everywhere-Web/beweb/templates/bugs.kid index b83a593..3271537 100644 --- a/Bugs-Everywhere-Web/beweb/templates/bugs.kid +++ b/Bugs-Everywhere-Web/beweb/templates/bugs.kid @@ -2,7 +2,8 @@