2009-12-03 21:41:00 +03:00
|
|
|
<div class="contextual">
|
|
|
|
<%= link_to_if_authorized(l(:button_update), {:controller => 'issues', :action => 'edit', :id => @issue }, :onclick => 'showAndScrollTo("update", "notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit)) %>
|
2010-10-08 19:01:20 +04:00
|
|
|
<%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue}, :class => 'icon icon-time-add' %>
|
2011-04-05 16:09:15 +04:00
|
|
|
<%= watcher_tag(@issue, User.current) %>
|
2009-12-06 15:52:03 +03:00
|
|
|
<%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %>
|
2010-10-16 03:11:05 +04:00
|
|
|
<%= link_to_if_authorized l(:button_copy), {:controller => 'issue_moves', :action => 'new', :id => @issue, :copy_options => {:copy => 't'}}, :class => 'icon icon-copy' %>
|
2011-12-10 13:10:51 +04:00
|
|
|
<%= link_to l(:button_delete), issue_path(@issue), :confirm => issues_destroy_confirmation_message(@issue), :method => :delete, :class => 'icon icon-del' if User.current.allowed_to?(:delete_issues, @project) %>
|
2009-12-03 21:41:00 +03:00
|
|
|
</div>
|