]> source.dussan.org Git - redmine.git/commitdiff
code layout clean up app/views/issues/_action_menu.html.erb
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Oct 2019 07:39:23 +0000 (07:39 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 8 Oct 2019 07:39:23 +0000 (07:39 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@18622 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_action_menu.html.erb

index b535faec9070e0c1eb4647ecf96abe26b3dfe7f0..bd7bcc05fcc5844e8f11da41ca5333c77cd8ff40 100644 (file)
@@ -1,7 +1,13 @@
 <div class="contextual">
-<%= link_to l(:button_edit), edit_issue_path(@issue), :onclick => 'showAndScrollTo("update", "issue_notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit) if @issue.editable? %>
-<%= link_to l(:button_log_time), new_issue_time_entry_path(@issue), :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project) %>
+<%= link_to l(:button_edit), edit_issue_path(@issue),
+            :onclick => 'showAndScrollTo("update", "issue_notes"); return false;',
+            :class => 'icon icon-edit', :accesskey => accesskey(:edit) if @issue.editable? %>
+<%= link_to l(:button_log_time), new_issue_time_entry_path(@issue),
+            :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project) %>
 <%= watcher_link(@issue, User.current) %>
-<%= link_to l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy' if User.current.allowed_to?(:copy_issues, @project) && Issue.allowed_target_projects.any? %>
-<%= link_to l(:button_delete), issue_path(@issue), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'icon icon-del' if @issue.deletable? %>
+<%= link_to l(:button_copy), project_copy_issue_path(@project, @issue),
+            :class => 'icon icon-copy' if User.current.allowed_to?(:copy_issues, @project) && Issue.allowed_target_projects.any? %>
+<%= link_to l(:button_delete), issue_path(@issue),
+            :data => {:confirm => issues_destroy_confirmation_message(@issue)},
+            :method => :delete, :class => 'icon icon-del' if @issue.deletable? %>
 </div>