diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb index 3109ac4d..3372ed60 100644 --- a/app/views/context_menus/issues.html.erb +++ b/app/views/context_menus/issues.html.erb @@ -9,7 +9,7 @@ :class => 'icon-edit', :disabled => !@can[:edit] %> <% end %> - <% unless @allowed_statuses.empty? %> + <% if @allowed_statuses.present? %>
  • <%= l(:field_status) %>
  • <% end %> - <% unless @assignables.nil? || @assignables.empty? -%> + <% if @assignables.present? -%>
  • <%= l(:field_assigned_to) %>