18 Commits
Author SHA1 Message Date
Davis Zanetti Cabral d041809113 Redmine 2.x support - Initial work 2012-10-23 02:02:28 -02:00
root 4b18f20eba updated views and helpers to specify the currency unit when outputting currency values.
A label_currency localisation variable has been added to config/locales/en.yml
2010-03-03 08:14:39 +00:00
Eric Davis 931c1ef6ed [#1999] Added a link to expand/collapse all Deliverable rows to the sidebar 2009-04-27 14:13:51 -07:00
Eric Davis e5822befb0 Added the ability to pass a default value into the field_with_budget_observer_and_totals so the system defaults will appear correctly. #1351 2008-06-20 11:54:44 -07:00
Eric Davis 3dea68522e Added custom fields to track number or % values. #1348 2008-06-19 17:23:39 -07:00
Eric Davis 8295b737a1 Potential fix by calling the update every 5 seconds. Brute force but works.
When the FireFox "suggest history" dropbox is used, neither the blur nor change event is fired.  I have one solution that covers many of the common cases but fails on some others:

* Works - type, down arrow to suggest history, tab
* Works - type, down arrow to suggest history, enter, tab
* Works - type, click
* Works - type, tab
* Fails - down arrow to suggest history, enter, tab
* Fails - down arrow to suggest history, arrow right, tab

I have another solution which is to have a timer update the budget every 5 seconds.  This will make sure that even if the blur/change events are not fired, the values will be updated soon.  It's brute force but works (in FF so far, still need to test cross-browser).  I'm not seeing any performance impact, even with debugging on.

  #1350
2008-06-19 16:33:15 -07:00
Eric Davis 42efb03925 Converted all details into tables. #1274 2008-06-12 16:25:19 -07:00
Eric Davis 9989b6971b Adding dollar signs or % to amounts
* Added number_or_percent helper to return the correct string
* Deliverable.labor_budget will now return 0.0 if it's nil

  #1274
2008-06-12 16:05:02 -07:00
Eric Davis 55aa505243 Refactored arrows. #1274 2008-06-12 15:41:49 -07:00
Eric Davis 52d6687f52 More form cleanup. #1274 2008-06-12 15:04:01 -07:00
Eric Davis 8a69714981 Converted side form to a table. #1274 2008-06-12 14:54:37 -07:00
Eric Davis 83c4cdc628 Rdoc'ing helpers 2008-06-11 09:21:26 -07:00
Eric Davis 1bb2742521 Matched layout to comp. #1190 2008-06-09 17:08:17 -07:00
Eric Davis 203ad5c90e Adding helper to show or hide elements based on permissions. #1138 2008-06-04 15:44:44 -07:00
Eric Davis eba994a686 Building up the JavaScript details. #1190 2008-05-28 16:14:55 -07:00
Eric Davis df37d248a1 Updated the JS API to be singleton, #1135 2008-05-20 23:11:43 -07:00
Eric Davis cbd084eae1 Updates to the JS calucluations
* Moved JavaScript into a Class
* Updated the alignment of the form
* Added some JavaScript form DZone to format the number to a currency

  #1135
2008-05-20 22:52:30 -07:00
Eric Davis f8399f1968 Complted the JavaScript subtotals on the new Deliverable form
* Subtotals will be updated as data is entered
* Created a helper to setup the fields with observers
* Added JavaScript functions to calculate the values

  #1135
2008-05-20 22:27:00 -07:00