Patch #2277 » ro2277-new_setting-issue_startdate_is_adddate-1.2-STABLE-r7580.diff
| app/controllers/issues_controller.rb (working copy) | ||
|---|---|---|
| 309 | 309 |
render_error l(:error_no_tracker_in_project) |
| 310 | 310 |
return false |
| 311 | 311 |
end |
| 312 |
@issue.start_date ||= Date.today |
|
| 312 |
@issue.start_date ||= Date.today if Setting.issue_startdate_is_adddate?
|
|
| 313 | 313 |
if params[:issue].is_a?(Hash) |
| 314 | 314 |
@issue.safe_attributes = params[:issue] |
| 315 | 315 |
if User.current.allowed_to?(:add_issue_watchers, @project) && @issue.new_record? |
| app/views/settings/_issues.rhtml (working copy) | ||
|---|---|---|
| 5 | 5 | |
| 6 | 6 |
<p><%= setting_check_box :display_subprojects_issues %></p> |
| 7 | 7 | |
| 8 |
<p><%= setting_check_box :issue_startdate_is_adddate %></p> |
|
| 9 | ||
| 8 | 10 |
<p><%= setting_select :issue_done_ratio, Issue::DONE_RATIO_OPTIONS.collect {|i| [l("setting_issue_done_ratio_#{i}"), i]} %></p>
|
| 9 | 11 | |
| 10 | 12 |
<p><%= setting_text_field :issues_export_limit, :size => 6 %></p> |
| config/locales/de.yml (working copy) | ||
|---|---|---|
| 371 | 371 |
setting_start_of_week: Wochenanfang |
| 372 | 372 |
setting_rest_api_enabled: REST-Schnittstelle aktivieren |
| 373 | 373 |
setting_cache_formatted_text: Formatierten Text im Cache speichern |
| 374 |
setting_issue_startdate_is_adddate: Aktuelles Datum als Startdatum für neue Tickets nutzen (sonst leer lassen) |
|
| 374 | 375 | |
| 375 | 376 |
permission_add_project: Projekt erstellen |
| 376 | 377 |
permission_add_subprojects: Unterprojekte erstellen |
| config/locales/en-GB.yml (working copy) | ||
|---|---|---|
| 369 | 369 |
setting_commit_logtime_enabled: Enable time logging |
| 370 | 370 |
setting_commit_logtime_activity_id: Activity for logged time |
| 371 | 371 |
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart |
| 372 |
setting_issue_startdate_is_adddate: Use todays date as start date for new issues (otherwise leave empty, default) |
|
| 372 | 373 |
|
| 373 | 374 |
permission_add_project: Create project |
| 374 | 375 |
permission_add_subprojects: Create subprojects |
| config/locales/en.yml (working copy) | ||
|---|---|---|
| 373 | 373 |
setting_commit_logtime_enabled: Enable time logging |
| 374 | 374 |
setting_commit_logtime_activity_id: Activity for logged time |
| 375 | 375 |
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart |
| 376 |
setting_issue_startdate_is_adddate: Use todays date as start date for new issues (otherwise leave empty, default) |
|
| 376 | 377 |
|
| 377 | 378 |
permission_add_project: Create project |
| 378 | 379 |
permission_add_subprojects: Create subprojects |
| config/locales/pt-BR.yml (working copy) | ||
|---|---|---|
| 327 | 327 |
setting_mail_handler_api_enabled: Habilitar WS para e-mails de entrada |
| 328 | 328 |
setting_mail_handler_api_key: Chave de API |
| 329 | 329 |
setting_sequential_project_identifiers: Gerar identificadores sequenciais de projeto |
| 330 |
setting_issue_startdate_is_adddate: Usar data corrente como data inicial para novas tarefas (caso contrário não marcar, padrão) |
|
| 330 | 331 | |
| 331 | 332 |
project_module_issue_tracking: Gerenciamento de Tarefas |
| 332 | 333 |
project_module_time_tracking: Gerenciamento de tempo |
| config/settings.yml (working copy) | ||
|---|---|---|
| 196 | 196 |
default: 'only_my_events' |
| 197 | 197 |
emails_header: |
| 198 | 198 |
default: '' |
| 199 |
issue_startdate_is_adddate: |
|
| 200 |
default: 0 |
|
- « Previous
- 1
- …
- 7
- 8
- 9
- Next »