2009-12-03 21:41:00 +03:00
|
|
|
<div class="contextual">
|
2012-12-22 14:30:42 +04:00
|
|
|
<%= link_to l(:button_update), edit_issue_path(@issue), :onclick => 'showAndScrollTo("update", "issue_notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit) if @issue.editable? %>
|
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) %>
|
2013-02-08 00:13:15 +04:00
|
|
|
<%= watcher_link(@issue, User.current) %>
|
2012-12-22 14:30:42 +04:00
|
|
|
<%= link_to l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy' if User.current.allowed_to?(:add_issues, @project) %>
|
2012-07-07 18:36:49 +04:00
|
|
|
<%= link_to l(:button_delete), issue_path(@issue), :data => {: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>
|