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)) %>
|
2012-04-25 21:17:49 +04:00
|
|
|
<%= 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) %>
|
2011-04-05 16:09:15 +04:00
|
|
|
<%= watcher_tag(@issue, User.current) %>
|
2012-01-08 15:16:54 +04:00
|
|
|
<%= link_to_if_authorized l(:button_copy), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue}, :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>
|