Opened 9 years ago

Closed 9 years ago

#5019 closed (fixed)

relative links broken at the e.g. admin/auth/user/1/password page

Reported by: hpxchan@… Owned by: Adrian Holovaty
Component: contrib.admin Version: master
Severity: Keywords: relative link links change_password logout password
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

In the change password page in the admin interface (the one you get to by going to the change user page and clicking on the small link titled "change password form" underneath the password field - with URL e.g. http://www.example.com/admin/auth/user/1/password/ ), the links at the upper-right-hand corner of the page called "Logout" and "Change password" are incorrect. They are relative, backing out three directories intending to get back to admin/ , but at the change password page mentioned (and possibly other pages), the URL is four subdirectories deep (relative to admin/ ).

Attachments (1)

change_password_patch.txt (1.1 KB) - added by hpxchan@… 9 years ago.
simple one-line fix in template

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by hpxchan@…

Attachment: change_password_patch.txt added

simple one-line fix in template

comment:1 Changed 9 years ago by anonymous

Has patch: set

comment:2 Changed 9 years ago by Chris Beaven

Triage Stage: UnreviewedReady for checkin

Thanks hpxchan. One day the admin should be rewritten to use reverse urls...

comment:3 Changed 9 years ago by Adrian Holovaty

Resolution: fixed
Status: newclosed

(In [5863]) Fixed #5019 -- Fixed broken links in navigation of 'change password' admin page. Thanks, hpxchan@…

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