ofbiz-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacques Le Roux (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (OFBIZ-5361) Adding the week number in date picking dropdowns
Date Sat, 19 Sep 2015 20:01:04 GMT

     [ https://issues.apache.org/jira/browse/OFBIZ-5361?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacques Le Roux reassigned OFBIZ-5361:
--------------------------------------

    Assignee: Jacques Le Roux  (was: Gil Portenseigne)

> 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
>         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)

Mime
View raw message