summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Gerard DeRose <jderose@redhat.com>2008-07-29 13:09:57 -0600
committerStephen Gallagher <sgallagh@redhat.com>2008-07-30 10:28:14 -0400
commit4deb919ce452f6da1ea71aff77379ba275444eeb (patch)
tree280d878baf55af4688cb749caa84c2e378d41d6b
parent6efb5479879ad8a54d7fbf0009757b60a85213d1 (diff)
downloadfreeipa-4deb919ce452f6da1ea71aff77379ba275444eeb.tar.gz
freeipa-4deb919ce452f6da1ea71aff77379ba275444eeb.tar.xz
freeipa-4deb919ce452f6da1ea71aff77379ba275444eeb.zip
Use % format string to fix nbsp problem in userlist.kid (fixes #453779)
-rw-r--r--ipa-server/ipa-gui/ipagui/templates/userlist.kid16
1 files changed, 9 insertions, 7 deletions
diff --git a/ipa-server/ipa-gui/ipagui/templates/userlist.kid b/ipa-server/ipa-gui/ipagui/templates/userlist.kid
index 718a29803..5dfe2bde7 100644
--- a/ipa-server/ipa-gui/ipagui/templates/userlist.kid
+++ b/ipa-server/ipa-gui/ipagui/templates/userlist.kid
@@ -1,4 +1,4 @@
-<!--
+<!--
Copyright (C) 2007 Red Hat
see file 'COPYING' for use and warranty information
@@ -56,9 +56,10 @@
<tbody>
<tr py:for="user in users" py:if="user.nsAccountLock != 'true'">
<td>
- <a href="${tg.url('/user/show',uid=user.uid)}"
- >${user.givenName} ${user.sn}</a>
- (${user.uid})
+ <a
+ href="${tg.url('/user/show',uid=user.uid)}"
+ py:content="u'%s %s (%s)' % (user.givenName, user.sn, user.uid)"
+ />
</td>
<td>
${user.telephoneNumber}
@@ -74,9 +75,10 @@
<tbody>
<tr id="inactive" py:for="user in users" py:if="user.nsAccountLock == 'true'">
<td>
- <a href="${tg.url('/user/show',uid=user.uid)}"
- >${user.givenName} ${user.sn}</a>
- (${user.uid})
+ <a
+ href="${tg.url('/user/show',uid=user.uid)}"
+ py:content="u'%s %s (%s)' % (user.givenName, user.sn, user.uid)"
+ />
</td>
<td>
${user.telephoneNumber}