Commit 043882ac authored by Romain Courteaud's avatar Romain Courteaud

DurationField now displays number as integer.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@13296 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5256e4da
...@@ -91,17 +91,17 @@ ...@@ -91,17 +91,17 @@
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
...@@ -116,24 +116,24 @@ ...@@ -116,24 +116,24 @@
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
\n \n
<!-- Test second value -->\n <!-- Test second value -->\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>59.0</td>\n <td>59</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
...@@ -148,24 +148,24 @@ ...@@ -148,24 +148,24 @@
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>59.0</td>\n <td>59</td>\n
</tr>\n </tr>\n
\n \n
<!-- Test minute value -->\n <!-- Test minute value -->\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>58.0</td>\n <td>58</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
...@@ -180,24 +180,24 @@ ...@@ -180,24 +180,24 @@
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>58.0</td>\n <td>58</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>59.0</td>\n <td>59</td>\n
</tr>\n </tr>\n
\n \n
<!-- Test hour value -->\n <!-- Test hour value -->\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>23.0</td>\n <td>23</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
...@@ -212,24 +212,24 @@ ...@@ -212,24 +212,24 @@
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>23.0</td>\n <td>23</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>58.0</td>\n <td>58</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>59.0</td>\n <td>59</td>\n
</tr>\n </tr>\n
\n \n
<!-- Test second increase minutes -->\n <!-- Test second increase minutes -->\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>63.0</td>\n <td>63</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
...@@ -244,24 +244,24 @@ ...@@ -244,24 +244,24 @@
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>23.0</td>\n <td>23</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>59.0</td>\n <td>59</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>3.0</td>\n <td>3</td>\n
</tr>\n </tr>\n
\n \n
<!-- Test minutes increase hour -->\n <!-- Test minutes increase hour -->\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>63.0</td>\n <td>63</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
...@@ -276,34 +276,34 @@ ...@@ -276,34 +276,34 @@
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>24.0</td>\n <td>24</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>3.0</td>\n <td>3</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>3.0</td>\n <td>3</td>\n
</tr>\n </tr>\n
\n \n
<!-- Test seconds increase hour -->\n <!-- Test seconds increase hour -->\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>type</td>\n <td>type</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>3600.0</td>\n <td>3600</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>clickAndWait</td>\n <td>clickAndWait</td>\n
...@@ -318,17 +318,17 @@ ...@@ -318,17 +318,17 @@
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_hour</td>\n <td>subfield_field_my_quantity_hour</td>\n
<td>1.0</td>\n <td>1</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_minute</td>\n <td>subfield_field_my_quantity_minute</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
<tr>\n <tr>\n
<td>verifyValue</td>\n <td>verifyValue</td>\n
<td>subfield_field_my_quantity_second</td>\n <td>subfield_field_my_quantity_second</td>\n
<td>0.0</td>\n <td>0</td>\n
</tr>\n </tr>\n
\n \n
</tbody></table>\n </tbody></table>\n
......
...@@ -80,35 +80,35 @@ ...@@ -80,35 +80,35 @@
<value> <value>
<dictionary> <dictionary>
<item> <item>
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
</item> </item>
<item> <item>
<key> <string>center</string> </key> <key> <string>center</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
</item> </item>
<item> <item>
<key> <string>hidden</string> </key> <key> <string>hidden</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
</item> </item>
<item> <item>
<key> <string>left</string> </key> <key> <string>left</string> </key>
<value> <value>
<list> <list>
<string>my_quantity</string>
<string>my_id</string> <string>my_id</string>
<string>my_title</string> <string>my_title</string>
<string>my_quantity</string>
</list> </list>
</value> </value>
</item> </item>
<item> <item>
<key> <string>right</string> </key> <key> <string>right</string> </key>
<value> <value>
<list/> <list/>
</value> </value>
......
...@@ -187,7 +187,7 @@ ...@@ -187,7 +187,7 @@
</item> </item>
<item> <item>
<key> <string>display_width</string> </key> <key> <string>display_width</string> </key>
<value> <int>20</int> </value> <value> <int>4</int> </value>
</item> </item>
<item> <item>
<key> <string>editable</string> </key> <key> <string>editable</string> </key>
......
174 176
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment