Author: jleroux
Date: Sat Sep 19 20:01:17 2015
New Revision: 1704086
URL: http://svn.apache.org/viewvc?rev=1704086&view=rev
Log:
A patch from François Lecomte for "Adding the week number in date picking
dropdowns" https://issues.apache.org/jira/browse/OFBIZ-5361
For some users, having the week shown in dropdown calendars is an important
thing.
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.
Modified:
ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
Modified: ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl?rev=1704086&r1=1704085&r2=1704086&view=diff
==============================================================================
--- ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl (original)
+++ ofbiz/trunk/framework/widget/templates/htmlFormMacroLibrary.ftl Sat Sep 19
20:01:17 2015
@@ -185,6 +185,7 @@ under the License.
stepMinute: 1,
stepSecond: 1,
</#if>
+ showWeek: true,
showOn: 'button',
buttonImage: '',
buttonText: '',
@@ -500,6 +501,7 @@ under the License.
stepMinute: 5,
stepSecond: 10,
</#if>
+ showWeek: true,
showOn: 'button',
buttonImage: '',
buttonText: '',
@@ -536,6 +538,7 @@ under the License.
stepMinute: 5,
stepSecond: 10,
</#if>
+ showWeek: true,
showOn: 'button',
buttonImage: '',
buttonText: '',