Opened 6 years ago

Closed 5 years ago

#11600 closed (fixed)

"View on site" link is not properly aligned

Reported by: semenov Owned by: brosner
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 semenov 6 years ago.
Screenshot of the incorrect layout
view-on-site-fix.png (4.7 KB) - added by seanbrant 5 years ago.
What it looks like fixed
stackedinline-viewonsite-fix.diff (1.6 KB) - added by seanbrant 5 years ago.
This moves the link next to the related object title

Download all attachments as: .zip

Change History (6)

Changed 6 years ago by semenov

Screenshot of the incorrect layout

comment:1 Changed 6 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

Changed 5 years ago by seanbrant

What it looks like fixed

Changed 5 years ago by seanbrant

This moves the link next to the related object title

comment:2 Changed 5 years ago by brosner

  • Owner changed from nobody to brosner
  • Status changed from new to assigned

comment:3 Changed 5 years ago by adrian

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

(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