]> source.dussan.org Git - redmine.git/commitdiff
shorten long line at app/views/context_menus/issues.html.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 16 Jun 2020 11:45:48 +0000 (11:45 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 16 Jun 2020 11:45:48 +0000 (11:45 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@19826 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/context_menus/issues.html.erb

index f957783ab3fe24873e31d40886ff045b2578e157..eef2bdea2e2392d4241b82a67b9221d1a923cb9b 100644 (file)
     <a href="#" class="submenu"><%= l(:field_status) %></a>
     <ul>
     <% @allowed_statuses.each do |s| -%>
-        <li><%= context_menu_link s.name, bulk_update_issues_path(:ids => @issue_ids, :issue => {:status_id => s}, :back_url => @back), :method => :post,
-                                  :selected => (@issue && s == @issue.status), :disabled => !@can[:edit] %></li>
+        <li>
+          <%= context_menu_link(
+                s.name,
+                bulk_update_issues_path(
+                  :ids => @issue_ids, :issue => {:status_id => s}, :back_url => @back
+                ),
+                :method => :post,
+                :selected => (@issue && s == @issue.status), :disabled => !@can[:edit]
+              ) %>
+        </li>
     <% end -%>
     </ul>
   </li>