Feature #26680 » new-issue-default-project-assignee-issue-26680.patch
app/views/issues/_attributes.html.erb 2024-11-07 21:07:14.653731417 +0100 → app/views/issues/_attributes.html.erb 2024-11-07 21:00:21.000000000 +0100 | ||
---|---|---|
21 | 21 | |
22 | 22 |
<% if @issue.safe_attribute? 'assigned_to_id' %> |
23 | 23 |
<p> |
24 |
<%= f.select :assigned_to_id, principals_options_for_select(@issue.assignable_users, @issue.assigned_to), |
|
24 |
<%= f.select :assigned_to_id, principals_options_for_select(@issue.assignable_users, @issue.assigned_to || (@issue.project.default_assigned_to if @issue.new_record?)),
|
|
25 | 25 |
:include_blank => true, :required => @issue.required_attribute?('assigned_to_id') %> |
26 | 26 |
<% if @issue.assignable_users.include?(User.current) %> |
27 | 27 |
<a class="assign-to-me-link<%= ' hidden' if @issue.assigned_to_id == User.current.id %>" href="#" data-id="<%= User.current.id %>"><%= l(:label_assign_to_me) %></a> |
- « Previous
- 1
- 2
- Next »