[
https://issues.apache.org/jira/browse/OFBIZ-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gil Portenseigne updated OFBIZ-5361:
------------------------------------
Attachment: OFBIZ-5361.patch
The patch given works fine, i like to see week number in date picking. Seems
ok to me.
> 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
> Priority: Trivial
> Labels: features
> 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)