summaryrefslogtreecommitdiffstats
path: root/app/views/context_menus/issues.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/context_menus/issues.html.erb')
-rw-r--r--app/views/context_menus/issues.html.erb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/context_menus/issues.html.erb b/app/views/context_menus/issues.html.erb
index 3109ac4dd..3372ed600 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] %></li>
<% end %>
- <% unless @allowed_statuses.empty? %>
+ <% if @allowed_statuses.present? %>
<li class="folder">
<a href="#" class="submenu" onclick="return false;"><%= l(:field_status) %></a>
<ul>
@@ -57,7 +57,7 @@
</ul>
</li>
<% end %>
- <% unless @assignables.nil? || @assignables.empty? -%>
+ <% if @assignables.present? -%>
<li class="folder">
<a href="#" class="submenu"><%= l(:field_assigned_to) %></a>
<ul>