Opened 16 years ago

Closed 15 years ago

#9439 closed (fixed)

Broken links in comment moderation templates

Reported by: neithere Owned by: nobody
Component: contrib.comments Version: dev
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Some templates contain references to a non-existent permalink attribute of the Comment model instead of the actual get_absolute_url:

  • source:django/trunk/django/contrib/comments/templates/comments/approve.html
  • source:django/trunk/django/contrib/comments/templates/comments/delete.html
  • source:django/trunk/django/contrib/comments/templates/comments/flag.html

This results in broken "cancel" links.

Attachments (1)

fix-templates.diff (2.2 KB ) - added by neithere 16 years ago.
Replace non-existent permalink attribute with get_absolute_url

Download all attachments as: .zip

Change History (4)

by neithere, 16 years ago

Attachment: fix-templates.diff added

Replace non-existent permalink attribute with get_absolute_url

comment:1 by neithere, 16 years ago

Has patch: set

comment:2 by Thejaswi Puthraya, 16 years ago

Triage Stage: UnreviewedAccepted

comment:3 by Jacob, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in [9730].

Note: See TracTickets for help on using tickets.
Back to Top