Opened 10 years ago

Closed 10 years ago

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

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by Simon Willison

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

Changed 10 years ago by Simon Willison

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

Changed 10 years ago by Simon Willison

Screenshot illustrating the patch, before a Show link is clicked

Changed 10 years ago by Simon Willison

Screenshot illustrating the patch, after a Show link is clicked

comment:1 Changed 10 years ago by jacob

  • Owner changed from adrian to jacob

comment:2 Changed 10 years ago by jacob

  • Status changed from new to assigned

comment:3 Changed 10 years ago by adrian

  • milestone set to Version 1.0

comment:4 Changed 10 years ago by jacob

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

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

comment:5 Changed 10 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 9 years ago by anonymous

  • milestone Version 1.0 deleted

Milestone Version 1.0 deleted

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