Feature #12704 » select_project.patch
| app/models/issue.rb (working copy) | ||
|---|---|---|
|
safe_attributes 'project_id',
|
||
|
:if => lambda {|issue, user|
|
||
|
if issue.new_record?
|
||
|
issue.copy?
|
||
|
Setting.new_issue_select_project? || issue.copy?
|
||
|
elsif user.allowed_to?(:move_issues, issue.project)
|
||
|
Issue.allowed_target_projects_on_move.count > 1
|
||
|
end
|
||
| app/views/settings/_issues.html.erb (working copy) | ||
|---|---|---|
|
<p><%= setting_check_box :issue_group_assignment %></p>
|
||
|
<p><%= setting_check_box :new_issue_select_project %></p>
|
||
|
<p><%= setting_check_box :default_issue_start_date_to_creation_date %></p>
|
||
|
<p><%= setting_check_box :display_subprojects_issues %></p>
|
||
| config/locales/en.yml (working copy) | ||
|---|---|---|
|
setting_commit_logtime_activity_id: Activity for logged time
|
||
|
setting_gantt_items_limit: Maximum number of items displayed on the gantt chart
|
||
|
setting_issue_group_assignment: Allow issue assignment to groups
|
||
|
setting_new_issue_select_project: Allow project selection for new issues
|
||
|
setting_default_issue_start_date_to_creation_date: Use current date as start date for new issues
|
||
|
setting_commit_cross_project_ref: Allow issues of all the other projects to be referenced and fixed
|
||
|
setting_unsubscribe: Allow users to delete their own account
|
||
| config/settings.yml (working copy) | ||
|---|---|---|
|
default: 'tree'
|
||
|
issue_group_assignment:
|
||
|
default: 0
|
||
|
new_issue_select_project:
|
||
|
default: false
|
||
|
default_issue_start_date_to_creation_date:
|
||
|
default: 1
|
||
|
notified_events:
|
||