summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@0d.be>2009-04-06 09:53:21 (GMT)
committerFrederic Peters <fpeters@0d.be>2009-04-06 09:53:21 (GMT)
commit57f3c1d64b73e9811b82cbfe1c88aa8478b920e2 (patch)
treead06d4459040a35b05bfab274eebfab8ab702d8e
parent3fb8111e2550bce869176ca97c1ba4cbae584816 (diff)
downloadpratic-57f3c1d64b73e9811b82cbfe1c88aa8478b920e2.zip
pratic-57f3c1d64b73e9811b82cbfe1c88aa8478b920e2.tar.gz
pratic-57f3c1d64b73e9811b82cbfe1c88aa8478b920e2.tar.bz2
display agent username
-rw-r--r--idp/extra/modules/identities_ui.ptl3
1 files changed, 3 insertions, 0 deletions
diff --git a/idp/extra/modules/identities_ui.ptl b/idp/extra/modules/identities_ui.ptl
index 62c9b0c..a95f89c 100644
--- a/idp/extra/modules/identities_ui.ptl
+++ b/idp/extra/modules/identities_ui.ptl
@@ -59,6 +59,9 @@ class AgentDirectory(Directory):
'</p>'
'\n<dl>\n'
+ '<dt>%s</dt>' % _('Username')
+ '<dd>%s</dd>\n' % self.agent.username
+
for k, l, attrs in self.attrs:
if getattr(self.agent, k):
' <dt>%s</dt>' % _(l)