Opened 18 years ago
Closed 15 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)
Change History (10)
comment:1 by , 18 years ago
by , 18 years ago
Attachment: | cal_prev_and_next_year.diff added |
---|
Provides a last/next year link in the popup calendar
comment:2 by , 18 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 , 18 years ago
Attachment: | cal_prev_and_next_year.2.diff added |
---|
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 , 18 years ago
Summary: | Calendar widget has limited usefulness for past years → [patch] Calendar widget has limited usefulness for past years |
---|
comment:4 by , 18 years ago
Keywords: | calendar widget javascript admin added |
---|---|
Triage Stage: | Unreviewed → Design decision needed |
comment:5 by , 17 years ago
Triage Stage: | Design decision needed → Someday/Maybe |
---|
At some point we'll be reworking the admin interface; this is one ticket we should look at then.
comment:7 by , 15 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
#9388 has made some progress.
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.