annotate app/views/issues/.svn/text-base/_action_menu.rhtml.svn-base @ 22:40f7cfd4df19
* Update to SVN trunk rev 4173
author |
Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
date |
Fri, 24 Sep 2010 14:06:04 +0100 |
parents |
1d32c0a0efbf |
children |
94944d00e43c |
rev |
line source |
Chris@0
|
1 <div class="contextual">
|
Chris@0
|
2 <%= 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)) %>
|
Chris@0
|
3 <%= link_to_if_authorized l(:button_log_time), {:controller => 'timelog', :action => 'edit', :issue_id => @issue}, :class => 'icon icon-time-add' %>
|
Chris@0
|
4 <% replace_watcher ||= 'watcher' %>
|
Chris@0
|
5 <%= watcher_tag(@issue, User.current, {:id => replace_watcher, :replace => ['watcher','watcher2']}) %>
|
Chris@0
|
6 <%= link_to_if_authorized l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue }, :class => 'icon icon-duplicate' %>
|
Chris@14
|
7 <%= link_to_if_authorized l(:button_copy), new_issue_move_path(:id => @issue, :copy_options => {:copy => 't'}), :class => 'icon icon-copy' %>
|
Chris@14
|
8 <%= link_to_if_authorized l(:button_move), new_issue_move_path(:id => @issue), :class => 'icon icon-move' %>
|
chris@22
|
9 <%= link_to_if_authorized l(:button_delete), {:controller => 'issues', :action => 'destroy', :id => @issue}, :confirm => (@issue.leaf? ? l(:text_are_you_sure) : l(:text_are_you_sure_with_children)), :method => :post, :class => 'icon icon-del' %>
|
Chris@0
|
10 </div>
|