Code

Opened 7 years ago

Closed 7 years ago

#5019 closed (fixed)

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

Reported by: hpxchan@… Owned by: adrian
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@… 7 years ago.
simple one-line fix in template

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by hpxchan@…

simple one-line fix in template

comment:1 Changed 7 years ago by anonymous

  • Has patch set
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by SmileyChris

  • Triage Stage changed from Unreviewed to Ready for checkin

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

comment:3 Changed 7 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.