Opened 8 years ago

Closed 8 years ago

#9439 closed (fixed)

Broken links in comment moderation templates

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

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 8 years ago.
Replace non-existent permalink attribute with get_absolute_url

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by neithere

Attachment: fix-templates.diff added

Replace non-existent permalink attribute with get_absolute_url

comment:1 Changed 8 years ago by neithere

Has patch: set

comment:2 Changed 8 years ago by Thejaswi Puthraya

Triage Stage: UnreviewedAccepted

comment:3 Changed 8 years ago by Jacob

Resolution: fixed
Status: newclosed

Fixed in [9730].

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