Fix from Brandon (updated somewhat) for a bad reverse() argument.

- Legacy-Id: 3001
This commit is contained in:
Henrik Levkowetz 2011-03-29 15:53:05 +00:00
parent abab86db1a
commit f08da46457

View file

@ -204,7 +204,7 @@ class IdWrapper:
elif self.draft_status == "Replaced":
rs = self.replaced_by()
if rs:
return "Replaced by <a href=\"%s\">%s</a>" % (reverse('ipr_show', args=[rs[0]]),rs[0])
return "Replaced by <a href=\"%s\">%s</a>" % (reverse('doc_view', args=[rs[0]]),rs[0], )
else:
return "Replaced"
elif self.draft_status == "Active":