You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Sharan Foga (JIRA)" <ji...@apache.org> on 2015/02/21 08:40:17 UTC
[jira] [Updated] (OFBIZ-5361) Adding the week number in date
picking dropdowns
[ https://issues.apache.org/jira/browse/OFBIZ-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sharan Foga updated OFBIZ-5361:
-------------------------------
Sprint: Bug Crush Event - 21/2/2015
> 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
> 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)