diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-08 07:39:23 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-10-08 07:39:23 +0000 |
commit | 017d8790c973078c1db85c8f44b199bcf8570a74 (patch) | |
tree | 6b00919932e9809bc5da66f3bd2128865078260b /app/views | |
parent | ffab57044a18dde825041781265ce752b6692cef (diff) | |
download | redmine-017d8790c973078c1db85c8f44b199bcf8570a74.tar.gz redmine-017d8790c973078c1db85c8f44b199bcf8570a74.zip |
code layout clean up app/views/issues/_action_menu.html.erb
git-svn-id: http://svn.redmine.org/redmine/trunk@18622 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/issues/_action_menu.html.erb | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/app/views/issues/_action_menu.html.erb b/app/views/issues/_action_menu.html.erb index b535faec9..bd7bcc05f 100644 --- a/app/views/issues/_action_menu.html.erb +++ b/app/views/issues/_action_menu.html.erb @@ -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> |