Opened 7 years ago

Closed 7 years ago

#11600 closed (fixed)

"View on site" link is not properly aligned

Reported by: Ilya Semenov Owned by: Brian Rosner
Component: Core (Management commands) Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When using stacked inline and a model with defined get_absolute_url(), the "View on site" link is not properly aligned. It should be (at least) moved a bit to the right to be vertically aligned with the field names, but better moved to the "related object title" line (in my example it would be "Image: pink&white(18) - View on site")

Attachments (3)

view-on-site.png (26.2 KB) - added by Ilya Semenov 7 years ago.
Screenshot of the incorrect layout
view-on-site-fix.png (4.7 KB) - added by Sean Brant 7 years ago.
What it looks like fixed
stackedinline-viewonsite-fix.diff (1.6 KB) - added by Sean Brant 7 years ago.
This moves the link next to the related object title

Download all attachments as: .zip

Change History (6)

Changed 7 years ago by Ilya Semenov

Attachment: view-on-site.png added

Screenshot of the incorrect layout

comment:1 Changed 7 years ago by Alex Gaynor

Triage Stage: UnreviewedAccepted

Changed 7 years ago by Sean Brant

Attachment: view-on-site-fix.png added

What it looks like fixed

Changed 7 years ago by Sean Brant

This moves the link next to the related object title

comment:2 Changed 7 years ago by Brian Rosner

Owner: changed from nobody to Brian Rosner
Status: newassigned

comment:3 Changed 7 years ago by Adrian Holovaty

Resolution: fixed
Status: assignedclosed

(In [12149]) Fixed #11600 -- Fixed placement of 'View on site' in stacked inline admin template. Thanks, seanbrant

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