2015-04-10 17:49:16 +08:00
|
|
|
<!--added by huang-->
|
2015-04-17 10:37:40 +08:00
|
|
|
<%#= watcher_link_issue(@issue, User.current) %>
|
2015-04-10 17:49:16 +08:00
|
|
|
<%#= link_to l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy' if User.current.allowed_to?(:add_issues, @project) %>
|
|
|
|
<%= link_to l(:button_delete), issue_path(@issue.id), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'talk_edit fr' if User.current.allowed_to?(:delete_issues, @project) %>
|
2013-08-14 21:47:46 +08:00
|
|
|
|
2015-04-27 14:41:27 +08:00
|
|
|
|
2015-04-27 16:58:16 +08:00
|
|
|
<%= link_to l(:button_edit), edit_issue_path(@issue), :onclick => 'showAndScrollTo("all_attributes"); return false;', :class => 'talk_edit fr', :accesskey => accesskey(:edit) if @issue.editable? && User.current.allowed_to?(:edit_issues, @project) %>
|
2015-04-27 14:41:27 +08:00
|
|
|
<%= link_to l(:label_user_newfeedback), edit_issue_path(@issue), :onclick => 'showAndScrollTo("update", "issue_notes"); return false;', :class => 'talk_edit fr', :accesskey => accesskey(:edit) if @issue.editable? && User.current.allowed_to?(:add_issue_notes, @project) %>
|