[ https://issues.apache.org/jira/browse/OFBIZ-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux closed OFBIZ-5361. ---------------------------------- Resolution: Done Fix Version/s: Upcoming Branch Thanks François, and Gil for the test and reminder François, your patch is in trunk at revision: 1704086 > Adding the week number in date picking dropdowns > ------------------------------------------------ > > Key: OFBIZ-5361 > URL: https://issues.apache.org/jira/browse/OFBIZ-5361 > Project: OFBiz > Issue Type: Improvement > Components: framework > Affects Versions: Trunk > Environment: This improvement was tested on our OFBiz 12.04 (revision > 1452418) running on Debian 6.0.7. > Reporter: François Lecomte > Assignee: Jacques Le Roux > Priority: Trivial > Labels: features > Fix For: Upcoming Branch > > Attachments: OFBIZ-5361.patch > > Original Estimate: 1h > Remaining Estimate: 1h > > For some users, having the week shown in dropdown calendars is an important > thing. > This is what it looks like: > !http://i.imgur.com/GNflLdp.jpg! > There is an option to show week numbers in the dropdown date picker used by > OFBiz. (datetimepicker) > It can be done by adding "showWeek: true," in the datetimepicker calls in > framework/widget/templates/htmlFormMacroLibrary.ftl. > Proposed patch for trunk: > {noformat} > --- framework/widget/templates/htmlFormMacroLibrary.ftl > +++ framework/widget/templates/htmlFormMacroLibrary.ftl > @@ -181,6 +181,7 @@ > stepMinute: 1, > stepSecond: 1, > </#if> > + showWeek: true, > showOn: 'button', > buttonImage: '', > buttonText: '', > @@ -495,6 +496,7 @@ > stepMinute: 5, > stepSecond: 10, > </#if> > + showWeek: true, > showOn: 'button', > buttonImage: '', > buttonText: '', > @@ -531,6 +533,7 @@ > stepMinute: 5, > stepSecond: 10, > </#if> > + showWeek: true, > showOn: 'button', > buttonImage: '', > buttonText: '', > {noformat} -- This message was sent by Atlassian JIRA (v6.3.4#6332)