Settings to make the issue and/or comment fields mandatory for time logs
|Assignee:||Jean-Philippe Lang||% Done:|
- a new tab in the application settings named "Time tracking"
- new settings to make the issue and/or comment fields mandatory for time logs. By default, the new settings are off in order to not change the current behaviour.
Adds settings to make the issue and/or comment fields mandatory for time logs (#24577).
Patch by Marius BALTEANU.
#1 Updated by Marius BALTEANU over 3 years ago
Attached the correct patch.
#12 Updated by ivan perez about 3 years ago
Hello, this is a very good addition, i tried to apply the patch but my company is argentitnian so we have the spanish version, can anybody help me?, because this patch modify the en.yml file and in my case i have to modify the ES.yml file.
I can't wait until the 3.4 version comes...
i have redmine 3.2.2 so, i wait for your answer.
PD: it will be perfect if the patch allows to choose witch type of issue i want to make it mandatory..
If anybody can make the patch for redmine 3.2.2 spanish version and allows me to choose the type of issue i want to make it mandatory i will apreciate it so much.
Thanks a lot i wait for your answers
(Sorry for my english)
#13 Updated by Pierre de LESPINAY over 2 years ago
I tried to apply the patch in a version
3.2.5-1 (Since I can't just upgrade to 3.4)
/home/redmine/redmine$ patch -p1 < settings_to_make_issue_id_comment_fields_mandatory_v2.patch
But I have 3 fails:
patching file app/helpers/settings_helper.rb patching file app/models/time_entry.rb patching file app/views/settings/_timelog.html.erb patching file app/views/timelog/_form.html.erb Hunk #1 FAILED at 12. 1 out of 1 hunk FAILED -- saving rejects to file app/views/timelog/_form.html.erb.rej patching file config/locales/en.yml Hunk #1 FAILED at 448. 1 out of 1 hunk FAILED -- saving rejects to file config/locales/en.yml.rej patching file config/settings.yml Hunk #1 FAILED at 279. 1 out of 1 hunk FAILED -- saving rejects to file config/settings.yml.rej patching file test/unit/time_entry_test.rb
Is it supposed to be applyable on a
3.2.5-1 version ?