ptl: use %s instead of %d (fix #1910)

This commit is contained in:
Thomas NOËL 2012-11-12 16:50:09 +01:00
parent 99ec4610c9
commit 13351720fb
1 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ class RolePage(Directory):
'<h3>%s</h3>' % _('Forms handled by this role')
'<ul>'
for formdef in receiver_formdefs:
'<li><a href="../../forms/%d">' % formdef.id
'<li><a href="../../forms/%s">' % formdef.id
formdef.name
'</a></li>'
if not receiver_formdefs:
@ -140,7 +140,7 @@ class RolePage(Directory):
'<h3>%s</h3>' % _('Forms private to this role')
'<ul>'
for formdef in sender_formdefs:
'<li><a href="../../forms/%d">' % formdef.id
'<li><a href="../../forms/%s">' % formdef.id
formdef.name
'</a></li>'
if not sender_formdefs: