mirror of
https://github.com/meineerde/redmine.git
synced 2026-01-10 09:31:31 +00:00
Make it work for 0 projects (#24587).
git-svn-id: http://svn.redmine.org/redmine/trunk@16070 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
9d1d3b825f
commit
9b08365ea5
@ -18,7 +18,7 @@
|
||||
<td><%= checked_image custom_field.is_required? %></td>
|
||||
<% if tab[:name] == 'IssueCustomField' %>
|
||||
<td><%= checked_image custom_field.is_for_all? %></td>
|
||||
<td><%= l(:label_x_projects, :count => @custom_fields_projects_count[custom_field.id]) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
|
||||
<td><%= l(:label_x_projects, :count => @custom_fields_projects_count[custom_field.id] || 0) if custom_field.is_a? IssueCustomField and !custom_field.is_for_all? %></td>
|
||||
<% end %>
|
||||
<td class="buttons">
|
||||
<%= reorder_handle(custom_field, :url => custom_field_path(custom_field), :param => 'custom_field') %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user