]> source.dussan.org Git - redmine.git/commitdiff
fix source indent of IssuesHelper
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 29 Nov 2020 12:47:46 +0000 (12:47 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 29 Nov 2020 12:47:46 +0000 (12:47 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@20510 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/helpers/issues_helper.rb

index b04ec5fb021d2278e535b32d7acf7991ba35cda6..5a392350d7e330d116e374a613b11961b47ebf37 100644 (file)
@@ -100,15 +100,17 @@ module IssuesHelper
       css << " idnt idnt-#{level}" if level > 0
       buttons =
         if manage_relations
-          link_to(l(:label_delete_link_to_subtask),
-                  issue_path(
-                    {:id => child.id, :issue => {:parent_issue_id => ''},
-                     :back_url => issue_path(issue.id), :no_flash => '1'}),
-                  :method => :put,
-                  :data => {:confirm => l(:text_are_you_sure)},
-                  :title => l(:label_delete_link_to_subtask),
-                  :class => 'icon-only icon-link-break'
-                  )
+          link_to(
+            l(:label_delete_link_to_subtask),
+            issue_path(
+              {:id => child.id, :issue => {:parent_issue_id => ''},
+               :back_url => issue_path(issue.id), :no_flash => '1'}
+            ),
+            :method => :put,
+            :data => {:confirm => l(:text_are_you_sure)},
+            :title => l(:label_delete_link_to_subtask),
+            :class => 'icon-only icon-link-break'
+          )
         else
           "".html_safe
         end