Opened 17 years ago

Closed 14 years ago

#2889 closed defect (duplicate)

[patch] Calendar widget has limited usefulness for past years

Reported by: Robert Bunting Owned by: nobody
Component: contrib.admin Version:
Severity: minor Keywords: calendar widget javascript admin
Cc: Triage Stage: Someday/Maybe
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

The calendar widget in the admin interface is nice enough, but is not very useful for choosing dates which are far from today. For instance, for entering date of birth, it can't sensibly be used. You can only skip back one month at a time, which is a lot of clicks to get back to my date of birth (before unix epoch :()

I'd very much like the widget to have arrows to go back/forward a year at a time as well. Something like '<<' '>>' added to the existing '<' '>' buttons.

I'm just submitting to see if anyone has this already as we could patch it in, or if this is a duplicate of another request. If not, I'll have a go at a patch myself, and submit it here.

[I'm currently running the POP branch at r3753 which has trunk as far as r3731]

Attachments (3)

cal_prev_and_next_year.diff (5.1 KB ) - added by robert bunting 17 years ago.
Provides a last/next year link in the popup calendar
cal_patch.png (7.6 KB ) - added by robert bunting 17 years ago.
view of the calendar patch in action
cal_prev_and_next_year.2.diff (5.0 KB ) - added by Robert Bunting 17 years ago.
Provides a last/next year link in the popup calendar (second version of patch rooted in proper django root dir; please ignore the first version)

Download all attachments as: .zip

Change History (10)

comment:1 by hugh@…, 17 years ago

I hate the calendar widget. It would be much better to replace it with simple drop down lists or have the widget modify drop down lists insted of a text box.

by robert bunting, 17 years ago

Attachment: cal_prev_and_next_year.diff added

Provides a last/next year link in the popup calendar

by robert bunting, 17 years ago

Attachment: cal_patch.png added

view of the calendar patch in action

comment:2 by anonymous, 17 years ago

I'm slightly inclined to agree wih you about the date box.

In the meantime, I've added a patch to modify the calendar date chooser, so it has '<<' and '>>' links to go back and forward one year.

I'd change the summary with [patch] if akismet would let me.

by Robert Bunting, 17 years ago

Provides a last/next year link in the popup calendar (second version of patch rooted in proper django root dir; please ignore the first version)

comment:3 by anonymous, 17 years ago

Summary: Calendar widget has limited usefulness for past years[patch] Calendar widget has limited usefulness for past years

comment:4 by Simon G. <dev@…>, 17 years ago

Keywords: calendar widget javascript admin added
Triage Stage: UnreviewedDesign decision needed

comment:5 by Jacob, 16 years ago

Triage Stage: Design decision neededSomeday/Maybe

At some point we'll be reworking the admin interface; this is one ticket we should look at then.

comment:6 by Ramiro Morales, 14 years ago

See also #9388 that is younger but has a more up to date patch.

comment:7 by Tay Ray Chuan, 14 years ago

Resolution: duplicate
Status: newclosed

#9388 has made some progress.

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