summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-11-15 21:03:36 +0100
committerDan McGee <dan@archlinux.org>2011-11-15 21:04:39 +0100
commit5b63c29fe1c37ce9d946adedeaf13f5ad94d144a (patch)
tree76ec0d8be088bc04886c7e0be4b6412699b7fedd /main
parent12408702eaf89ea338670ba808da9ef49e35c562 (diff)
downloadarchweb-5b63c29fe1c37ce9d946adedeaf13f5ad94d144a.tar.gz
archweb-5b63c29fe1c37ce9d946adedeaf13f5ad94d144a.tar.xz
Show full names on developer user list pages
The old display format doesn't really make sense. Also fix the invalid HTML generated by the PGP tag link- we need to escape using &amp; inside the generated URLs. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'main')
-rw-r--r--main/templatetags/pgp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/templatetags/pgp.py b/main/templatetags/pgp.py
index f875c11..67f5e08 100644
--- a/main/templatetags/pgp.py
+++ b/main/templatetags/pgp.py
@@ -21,7 +21,7 @@ def pgp_key_link(key_id):
pgp_server = getattr(settings, 'PGP_SERVER', None)
if not pgp_server:
return format_key(key_id)
- url = 'http://%s/pks/lookup?op=vindex&fingerprint=on&exact=on&search=0x%s' % \
+ url = 'http://%s/pks/lookup?op=vindex&amp;fingerprint=on&amp;exact=on&amp;search=0x%s' % \
(pgp_server, key_id)
values = (url, format_key(key_id), key_id[-8:])
return '<a href="%s" title="PGP key search for %s">0x%s</a>' % values