Opened 11 years ago

Closed 11 years ago

Last modified 10 years ago

#105 closed enhancement (fixed)

Make collapse class to work in two ways

Reported by: paolo Owned by: Jacob
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

It is really useful to present some fieldsets collapsed in the admin interface and just with one click get them opened. It would be equally useful, once uncollapsed, to have the possibility to collapse them again.
In a such way users can better organize the space on their Django admin interface.

Attachments (4)

show-hide-toggle.diff (7.7 KB) - added by Simon Willison 11 years ago.
Patch to implement (Show) -> (Hide) toggle link in the h2
show-hide-toggle-fixed.diff (4.9 KB) - added by Simon Willison 11 years ago.
Ignore previous patch - it includes unrelated changes to the template system
show-hide-before.png (7.5 KB) - added by Simon Willison 11 years ago.
Screenshot illustrating the patch, before a Show link is clicked
show-hide-after.png (12.0 KB) - added by Simon Willison 11 years ago.
Screenshot illustrating the patch, after a Show link is clicked

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by Simon Willison

Attachment: show-hide-toggle.diff added

Patch to implement (Show) -> (Hide) toggle link in the h2

Changed 11 years ago by Simon Willison

Attachment: show-hide-toggle-fixed.diff added

Ignore previous patch - it includes unrelated changes to the template system

Changed 11 years ago by Simon Willison

Attachment: show-hide-before.png added

Screenshot illustrating the patch, before a Show link is clicked

Changed 11 years ago by Simon Willison

Attachment: show-hide-after.png added

Screenshot illustrating the patch, after a Show link is clicked

comment:1 Changed 11 years ago by Jacob

Owner: changed from Adrian Holovaty to Jacob

comment:2 Changed 11 years ago by Jacob

Status: newassigned

comment:3 Changed 11 years ago by Adrian Holovaty

milestone: Version 1.0

comment:4 Changed 11 years ago by Jacob

Resolution: fixed
Status: assignedclosed

(In [387]) Fixed #105 -- collapsable fieldsets now work in both ways (thanks, Simon)

comment:5 Changed 11 years ago by ashu

This facility is really very nice but ByDefault settings is "Hidden" . Some fields require by default to be "Shown". So configurable initial state shouls be really very useful . ( Thanx)

comment:6 Changed 10 years ago by (none)

milestone: Version 1.0

Milestone Version 1.0 deleted

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