Revision 441:cbce1fd3b1b7 app/views/context_menus
| app/views/context_menus/.svn/all-wcprops | ||
|---|---|---|
| 1 |
K 25 |
|
| 2 |
svn:wc:ra_dav:version-url |
|
| 3 |
V 48 |
|
| 4 |
/svn/!svn/ver/4409/trunk/app/views/context_menus |
|
| 5 |
END |
|
| 6 |
issues.html.erb |
|
| 7 |
K 25 |
|
| 8 |
svn:wc:ra_dav:version-url |
|
| 9 |
V 64 |
|
| 10 |
/svn/!svn/ver/4409/trunk/app/views/context_menus/issues.html.erb |
|
| 11 |
END |
|
| app/views/context_menus/.svn/entries | ||
|---|---|---|
| 1 | 1 |
10 |
| 2 | 2 |
|
| 3 | 3 |
dir |
| 4 |
4993
|
|
| 5 |
http://redmine.rubyforge.org/svn/trunk/app/views/context_menus
|
|
| 4 |
6000
|
|
| 5 |
http://redmine.rubyforge.org/svn/branches/1.2-stable/app/views/context_menus
|
|
| 6 | 6 |
http://redmine.rubyforge.org/svn |
| 7 | 7 |
|
| 8 | 8 |
|
| 9 | 9 |
|
| 10 |
2010-11-16T19:49:08.085592Z
|
|
| 11 |
4409
|
|
| 10 |
2011-04-17T15:17:18.418900Z
|
|
| 11 |
5495
|
|
| 12 | 12 |
jplang |
| 13 | 13 |
|
| 14 | 14 |
|
| ... | ... | |
| 26 | 26 |
|
| 27 | 27 |
e93f8b46-1217-0410-a6f0-8f06a7374b81 |
| 28 | 28 |
|
| 29 |
time_entries.html.erb |
|
| 30 |
file |
|
| 31 |
|
|
| 32 |
|
|
| 33 |
|
|
| 34 |
|
|
| 35 |
2011-06-06T13:18:33.000000Z |
|
| 36 |
d021ca3ed499dc32afd907dfd0529b38 |
|
| 37 |
2011-04-04T11:54:47.184431Z |
|
| 38 |
5316 |
|
| 39 |
tmaruyama |
|
| 40 |
|
|
| 41 |
|
|
| 42 |
|
|
| 43 |
|
|
| 44 |
|
|
| 45 |
|
|
| 46 |
|
|
| 47 |
|
|
| 48 |
|
|
| 49 |
|
|
| 50 |
|
|
| 51 |
|
|
| 52 |
|
|
| 53 |
|
|
| 54 |
|
|
| 55 |
|
|
| 56 |
|
|
| 57 |
|
|
| 58 |
|
|
| 59 |
|
|
| 60 |
|
|
| 61 |
1879 |
|
| 62 |
|
|
| 29 | 63 |
issues.html.erb |
| 30 | 64 |
file |
| 31 | 65 |
|
| 32 | 66 |
|
| 33 | 67 |
|
| 34 | 68 |
|
| 35 |
2011-03-03T11:05:10.000000Z
|
|
| 36 |
1a873e0d09f011b6b274e955460d35a1
|
|
| 37 |
2010-11-16T19:49:08.085592Z
|
|
| 38 |
4409
|
|
| 69 |
2011-06-06T13:18:33.000000Z
|
|
| 70 |
71478da35c13199e1b5b3f0a2a33168f
|
|
| 71 |
2011-04-17T15:17:18.418900Z
|
|
| 72 |
5495
|
|
| 39 | 73 |
jplang |
| 40 | 74 |
has-props |
| 41 | 75 |
|
| ... | ... | |
| 58 | 92 |
|
| 59 | 93 |
|
| 60 | 94 |
|
| 61 |
6698
|
|
| 95 |
6706
|
|
| 62 | 96 |
|
| app/views/context_menus/.svn/text-base/issues.html.erb.svn-base | ||
|---|---|---|
| 115 | 115 |
<li><%= context_menu_link l(:button_move), new_issue_move_path(:ids => @issues.collect(&:id)), |
| 116 | 116 |
:class => 'icon-move', :disabled => !@can[:move] %></li> |
| 117 | 117 |
<li><%= context_menu_link l(:button_delete), {:controller => 'issues', :action => 'destroy', :ids => @issues.collect(&:id), :back_url => @back},
|
| 118 |
:method => :post, :confirm => l(:text_issues_destroy_confirmation), :class => 'icon-del', :disabled => !@can[:delete] %></li>
|
|
| 118 |
:method => :post, :confirm => issues_destroy_confirmation_message(@issues), :class => 'icon-del', :disabled => !@can[:delete] %></li>
|
|
| 119 | 119 |
|
| 120 | 120 |
<%= call_hook(:view_issues_context_menu_end, {:issues => @issues, :can => @can, :back => @back }) %>
|
| 121 | 121 |
</ul> |
| app/views/context_menus/issues.html.erb | ||
|---|---|---|
| 115 | 115 |
<li><%= context_menu_link l(:button_move), new_issue_move_path(:ids => @issues.collect(&:id)), |
| 116 | 116 |
:class => 'icon-move', :disabled => !@can[:move] %></li> |
| 117 | 117 |
<li><%= context_menu_link l(:button_delete), {:controller => 'issues', :action => 'destroy', :ids => @issues.collect(&:id), :back_url => @back},
|
| 118 |
:method => :post, :confirm => l(:text_issues_destroy_confirmation), :class => 'icon-del', :disabled => !@can[:delete] %></li>
|
|
| 118 |
:method => :post, :confirm => issues_destroy_confirmation_message(@issues), :class => 'icon-del', :disabled => !@can[:delete] %></li>
|
|
| 119 | 119 |
|
| 120 | 120 |
<%= call_hook(:view_issues_context_menu_end, {:issues => @issues, :can => @can, :back => @back }) %>
|
| 121 | 121 |
</ul> |
| app/views/context_menus/time_entries.html.erb | ||
|---|---|---|
| 1 |
<ul> |
|
| 2 |
<% if !@time_entry.nil? -%> |
|
| 3 |
<li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'edit', :id => @time_entry},
|
|
| 4 |
:class => 'icon-edit', :disabled => !@can[:edit] %></li> |
|
| 5 |
<% else %> |
|
| 6 |
<li><%= context_menu_link l(:button_edit), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id)},
|
|
| 7 |
:class => 'icon-edit', :disabled => !@can[:edit] %></li> |
|
| 8 |
<% end %> |
|
| 9 |
|
|
| 10 |
<%= call_hook(:view_time_entries_context_menu_start, {:time_entries => @time_entries, :can => @can, :back => @back }) %>
|
|
| 11 |
|
|
| 12 |
<% if @activities.present? -%> |
|
| 13 |
<li class="folder"> |
|
| 14 |
<a href="#" class="submenu"><%= l(:field_activity) %></a> |
|
| 15 |
<ul> |
|
| 16 |
<% @activities.each do |u| -%> |
|
| 17 |
<li><%= context_menu_link u.name, {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => u}, :back_url => @back}, :method => :post,
|
|
| 18 |
:selected => (@time_entry && u == @time_entry.activity), :disabled => !@can[:update] %></li> |
|
| 19 |
<% end -%> |
|
| 20 |
<li><%= context_menu_link l(:label_nobody), {:controller => 'timelog', :action => 'bulk_edit', :ids => @time_entries.collect(&:id), :time_entry => {'activity_id' => 'none'}, :back_url => @back}, :method => :post,
|
|
| 21 |
:selected => (@time_entry && @time_entry.activity.nil?), :disabled => !@can[:update] %></li> |
|
| 22 |
</ul> |
|
| 23 |
</li> |
|
| 24 |
<% end %> |
|
| 25 |
|
|
| 26 |
<%= call_hook(:view_time_entries_context_menu_end, {:time_entries => @time_entries, :can => @can, :back => @back }) %>
|
|
| 27 |
|
|
| 28 |
<li> |
|
| 29 |
<%= context_menu_link l(:button_delete), |
|
| 30 |
{:controller => 'timelog', :action => 'destroy', :ids => @time_entries.collect(&:id), :back_url => @back},
|
|
| 31 |
:method => :delete, :confirm => l(:text_time_entries_destroy_confirmation), :class => 'icon-del', :disabled => !@can[:delete] %> |
|
| 32 |
</li> |
|
| 33 |
</ul> |
|
Also available in: Unified diff