Opened 19 years ago

Closed 19 years ago

Last modified 17 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: no UI/UX: no

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

Download all attachments as: .zip

Change History (10)

by Simon Willison, 19 years ago

Attachment: show-hide-toggle.diff added

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

by Simon Willison, 19 years ago

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

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

by Simon Willison, 19 years ago

Attachment: show-hide-before.png added

Screenshot illustrating the patch, before a Show link is clicked

by Simon Willison, 19 years ago

Attachment: show-hide-after.png added

Screenshot illustrating the patch, after a Show link is clicked

comment:1 by Jacob, 19 years ago

Owner: changed from Adrian Holovaty to Jacob

comment:2 by Jacob, 19 years ago

Status: newassigned

comment:3 by Adrian Holovaty, 19 years ago

milestone: Version 1.0

comment:4 by Jacob, 19 years ago

Resolution: fixed
Status: assignedclosed

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

comment:5 by ashu, 18 years ago

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 by (none), 17 years ago

milestone: Version 1.0

Milestone Version 1.0 deleted

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