Opened 15 years ago

Closed 13 years ago

#11373 closed (fixed)

Change list layout breaks if no actions_form

Reported by: Manuel Razzari Owned by:
Component: contrib.admin 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

The documented ways to remove all admin actions (actions=None and disable_action) are causing minor but visible layout breakage on the change list page.

The template seems to be comparing against the wrong variables. Also, text-align is missing in the CSS override to restore the TH to its original layout.

Attaching screenshot and patch.

Attachments (3)

change_list.patch (661 bytes ) - added by Manuel Razzari 15 years ago.
Proposed patch
change_list.gif (14.4 KB ) - added by Manuel Razzari 15 years ago.
Screenshot reproducing the issue
patch-changelist.diff (1.8 KB ) - added by Marco Paolini 15 years ago.
alternative patch

Download all attachments as: .zip

Change History (8)

by Manuel Razzari, 15 years ago

Attachment: change_list.patch added

Proposed patch

by Manuel Razzari, 15 years ago

Attachment: change_list.gif added

Screenshot reproducing the issue

comment:1 by James Bennett, 15 years ago

milestone: 1.1

Only extremely critical bugs are being accepted for the 1.1 milestone right now.

comment:2 by Alex Gaynor, 15 years ago

Triage Stage: UnreviewedAccepted

by Marco Paolini, 15 years ago

Attachment: patch-changelist.diff added

alternative patch

comment:3 by Marco Paolini, 15 years ago

I'm submitting an alternate patch based on the original.

I believe this one is cleaner 'cause all css code is kept in stylesheet no (extra <style> in change_list.html)

comment:4 by Jacob, 14 years ago

Owner: Jacob removed

comment:5 by Julien Phalip, 13 years ago

Resolution: fixed
Status: newclosed

I can't seem to be able to reproduce this, so I assume it has been fixed in a previous changeset. If you disagree, please reopen and provide a concrete code example that we can test.

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