Proposal #1322
完了
Update the daily inputs total time dynamically
Olivier Houdas さんがほぼ10年前に追加.
ほぼ10年前に更新.
説明
I suggest to update dynamically (as the user enters values) the total time for the day.
My proposal is to do it with javascript, update the total whenever the user changes an input and indicate that this total is not saved by changing the value to red color.
I also suggest to put the saved amount as tooltip for reference.
I made code changes to do that, I attached the Hg Diff file if you want to use it.
Note that the diff file also includes new strings related to proposal #1319 and a few changes I made in French according to my perception of good translation.
ファイル
I've reviewed my code after using it for 2 weeks : I had forgotten 2 things, one was the case when redmine_backlogs is present, and the other one is when we click the "+" link to duplicate a task.
I also moved my javascript to the proper file (assets/javascripts/work_time.js).
The new Mercurial patch is attached to this email.
- ステータス を 新規(New) から 担当(Assigned) に変更
- 対象バージョン を 0.2.15 にセット
- ステータス を 担当(Assigned) から 解決(Resolved) に変更
- 進捗率 を 0 から 100 に変更
更新履歴 commit:3ea900c2a010 で適用されました。
- ステータス を 解決(Resolved) から 終了(Closed) に変更
Your commit misses a string in the language resources:
wt_saved_value: "Saved time: "
in en.yml and in ja.yml
(used in app/views/_user_day_table.html.erb, line 286, for an info tooltip)
and also, in fr.yml, permission_ strings are duplicated.
Thank you for accepting my code!
I feel embarrassed.
fixes those in commit:a668996 .
他の形式にエクスポート: Atom
PDF