Opened 17 years ago
Closed 17 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)
Change History (4)
by , 17 years ago
| Attachment: | fix-templates.diff added |
|---|
comment:1 by , 17 years ago
| Has patch: | set |
|---|
comment:2 by , 17 years ago
| Triage Stage: | Unreviewed → Accepted |
|---|
Note:
See TracTickets
for help on using tickets.
Replace non-existent permalink attribute with get_absolute_url