##// END OF EJS Templates
replace tabs to spaces at app/views/files/index.html.erb...
replace tabs to spaces at app/views/files/index.html.erb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7328 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r6207:c3be706ce572
r7208:258ba4f604d6
Show More
issues.html.erb
121 lines | 6.6 KiB | text/plain | TextLexer
Jean-Philippe Lang
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue....
r859 <ul>
Eric Davis
Added plugin hooks to the context menu...
r2534 <%= call_hook(:view_issues_context_menu_start, {:issues => @issues, :can => @can, :back => @back }) %>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <% if !@issue.nil? -%>
Jean-Philippe Lang
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue....
r859 <li><%= context_menu_link l(:button_edit), {:controller => 'issues', :action => 'edit', :id => @issue},
:class => 'icon-edit', :disabled => !@can[:edit] %></li>
Jean-Baptiste Barth
Allow mass status update through context menu. #3411...
r3941 <% else %>
<li><%= context_menu_link l(:button_edit), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id)},
:class => 'icon-edit', :disabled => !@can[:edit] %></li>
<% end %>
Jean-Baptiste Barth
Fixed potential nil method errors when trying to access /issues/context_menu with GET. #6750...
r4188 <% if @allowed_statuses.present? %>
Jean-Philippe Lang
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue....
r859 <li class="folder">
<a href="#" class="submenu" onclick="return false;"><%= l(:field_status) %></a>
<ul>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <% @statuses.each do |s| -%>
Jean-Philippe Lang
Additional escaping....
r6207 <li><%= context_menu_link h(s.name), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {:status_id => s}, :back_url => @back}, :method => :post,
Jean-Baptiste Barth
Allow mass status update through context menu. #3411...
r3941 :selected => (@issue && s == @issue.status), :disabled => !(@can[:update] && @allowed_statuses.include?(s)) %></li>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <% end -%>
Jean-Philippe Lang
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue....
r859 </ul>
</li>
Jean-Baptiste Barth
Allow mass status update through context menu. #3411...
r3941 <% end %>
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764
Jean-Philippe Lang
Fixes tracker update on context menu (#2405)....
r2999 <% unless @trackers.nil? %>
Jean-Philippe Lang
Adds tracker update to context menu and bulk edit form (#2405)....
r2995 <li class="folder">
<a href="#" class="submenu"><%= l(:field_tracker) %></a>
<ul>
<% @trackers.each do |t| -%>
Jean-Philippe Lang
Additional escaping....
r6207 <li><%= context_menu_link h(t.name), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'tracker_id' => t}, :back_url => @back}, :method => :post,
Jean-Philippe Lang
Adds tracker update to context menu and bulk edit form (#2405)....
r2995 :selected => (@issue && t == @issue.tracker), :disabled => !@can[:edit] %></li>
<% end -%>
</ul>
</li>
Jean-Philippe Lang
Fixes context menu broken by r3109 (#2405)....
r2997 <% end %>
Jean-Baptiste Barth
Do not display items without valid selection in context menu when on different projects. #4998...
r3945
Jean-Philippe Lang
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue....
r859 <li class="folder">
<a href="#" class="submenu"><%= l(:field_priority) %></a>
<ul>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <% @priorities.each do |p| -%>
Jean-Philippe Lang
Additional escaping....
r6207 <li><%= context_menu_link h(p.name), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'priority_id' => p}, :back_url => @back}, :method => :post,
Jean-Philippe Lang
Fixes context menu broken by r3869 (#5925)....
r3773 :selected => (@issue && p == @issue.priority), :disabled => (!@can[:edit] || @issues.detect {|i| !i.leaf?}) %></li>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <% end -%>
Jean-Philippe Lang
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue....
r859 </ul>
</li>
Jean-Baptiste Barth
Do not display items without valid selection in context menu when on different projects. #4998...
r3945
Jean-Baptiste Barth
Added ability to edit issues from different project through contextual menu (#5332)...
r4128 <% #TODO: allow editing versions when multiple projects %>
Jean-Philippe Lang
Version sharing (#465) + optional inclusion of subprojects in the roadmap view (#2666)....
r3009 <% unless @project.nil? || @project.shared_versions.open.empty? -%>
Jean-Philippe Lang
Add target version to the issue list context menu....
r1550 <li class="folder">
<a href="#" class="submenu"><%= l(:field_fixed_version) %></a>
<ul>
Jean-Philippe Lang
Version sharing (#465) + optional inclusion of subprojects in the roadmap view (#2666)....
r3009 <% @project.shared_versions.open.sort.each do |v| -%>
Jean-Philippe Lang
Fixes some context menu links broken by r3478....
r3407 <li><%= context_menu_link format_version_name(v), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'fixed_version_id' => v}, :back_url => @back}, :method => :post,
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764 :selected => (@issue && v == @issue.fixed_version), :disabled => !@can[:update] %></li>
Jean-Philippe Lang
Add target version to the issue list context menu....
r1550 <% end -%>
Jean-Philippe Lang
Fixes some context menu links broken by r3478....
r3407 <li><%= context_menu_link l(:label_none), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'fixed_version_id' => 'none'}, :back_url => @back}, :method => :post,
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764 :selected => (@issue && @issue.fixed_version.nil?), :disabled => !@can[:update] %></li>
Jean-Philippe Lang
Add target version to the issue list context menu....
r1550 </ul>
</li>
<% end %>
Jean-Baptiste Barth
Fixed potential nil method errors when trying to access /issues/context_menu with GET. #6750...
r4188 <% if @assignables.present? -%>
Jean-Philippe Lang
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue....
r859 <li class="folder">
<a href="#" class="submenu"><%= l(:field_assigned_to) %></a>
<ul>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <% @assignables.each do |u| -%>
Jean-Philippe Lang
Additional escaping....
r6207 <li><%= context_menu_link h(u.name), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'assigned_to_id' => u}, :back_url => @back}, :method => :post,
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764 :selected => (@issue && u == @issue.assigned_to), :disabled => !@can[:update] %></li>
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 <% end -%>
Jean-Philippe Lang
Fixes some context menu links broken by r3478....
r3407 <li><%= context_menu_link l(:label_nobody), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'assigned_to_id' => 'none'}, :back_url => @back}, :method => :post,
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764 :selected => (@issue && @issue.assigned_to.nil?), :disabled => !@can[:update] %></li>
Jean-Philippe Lang
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue....
r859 </ul>
</li>
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764 <% end %>
<% unless @project.nil? || @project.issue_categories.empty? -%>
Jean-Philippe Lang
Adds category to the issue context menu (#1684)....
r1698 <li class="folder">
<a href="#" class="submenu"><%= l(:field_category) %></a>
<ul>
<% @project.issue_categories.each do |u| -%>
Jean-Philippe Lang
Additional escaping....
r6207 <li><%= context_menu_link h(u.name), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'category_id' => u}, :back_url => @back}, :method => :post,
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764 :selected => (@issue && u == @issue.category), :disabled => !@can[:update] %></li>
Jean-Philippe Lang
Adds category to the issue context menu (#1684)....
r1698 <% end -%>
Jean-Philippe Lang
Fixes some context menu links broken by r3478....
r3407 <li><%= context_menu_link l(:label_none), {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'category_id' => 'none'}, :back_url => @back}, :method => :post,
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764 :selected => (@issue && @issue.category.nil?), :disabled => !@can[:update] %></li>
Jean-Philippe Lang
Adds category to the issue context menu (#1684)....
r1698 </ul>
</li>
<% end -%>
Jean-Baptiste Barth
Do not display items without valid selection in context menu when on different projects. #4998...
r3945
Jean-Baptiste Barth
Added ability to edit issues from different project through contextual menu (#5332)...
r4128 <% if Issue.use_field_for_done_ratio? %>
Jean-Philippe Lang
Add done_ratio to the right-click context menu....
r1264 <li class="folder">
<a href="#" class="submenu"><%= l(:field_done_ratio) %></a>
<ul>
<% (0..10).map{|x|x*10}.each do |p| -%>
Jean-Philippe Lang
Fixes some context menu links broken by r3478....
r3407 <li><%= context_menu_link "#{p}%", {:controller => 'issues', :action => 'bulk_edit', :ids => @issues.collect(&:id), :issue => {'done_ratio' => p}, :back_url => @back}, :method => :post,
Jean-Philippe Lang
Fixes context menu broken by r3869 (#5925)....
r3773 :selected => (@issue && p == @issue.done_ratio), :disabled => (!@can[:edit] || @issues.detect {|i| !i.leaf?}) %></li>
Jean-Philippe Lang
Add done_ratio to the right-click context menu....
r1264 <% end -%>
</ul>
</li>
Eric Davis
Adds a Setting to control how an Issue's done_ratio is calculated:...
r3037 <% end %>
Jean-Baptiste Barth
Do not display items without valid selection in context menu when on different projects. #4998...
r3945
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764 <% if !@issue.nil? %>
Jean-Philippe Lang
Adds timelog link to the issue context menu (#1645)....
r1655 <% if @can[:log_time] -%>
Jean-Philippe Lang
Fixed: Log Time link broken in issue context menu (#6904)....
r4295 <li><%= context_menu_link l(:button_log_time), {:controller => 'timelog', :action => 'new', :issue_id => @issue},
Jean-Philippe Lang
Changes time related icons....
r2336 :class => 'icon-time-add' %></li>
Jean-Philippe Lang
Adds timelog link to the issue context menu (#1645)....
r1655 <% end %>
Jean-Philippe Lang
Adds watch/unwatch link on the issue context menu (#2730)....
r2399 <% if User.current.logged? %>
<li><%= watcher_link(@issue, User.current) %></li>
<% end %>
Jean-Philippe Lang
One-click bulk edition using the issue list context menu within the same project (#1770)....
r1764 <% end %>
Eric Davis
Enhanced the Issue Bulk Copy feature:...
r3008 <% if @issue.present? %>
Jean-Philippe Lang
Removes the 'Copy' checkbox on the copy/move form....
r3013 <li><%= context_menu_link l(:button_duplicate), {:controller => 'issues', :action => 'new', :project_id => @project, :copy_from => @issue},
:class => 'icon-duplicate', :disabled => !@can[:copy] %></li>
<% end %>
Eric Davis
Refactor: Extract a new IssueMovesController from IssuesController....
r3822 <li><%= context_menu_link l(:button_copy), new_issue_move_path(:ids => @issues.collect(&:id), :copy_options => {:copy => 't'}),
Eric Davis
Enhanced the Issue Bulk Copy feature:...
r3008 :class => 'icon-copy', :disabled => !@can[:move] %></li>
Eric Davis
Refactor: Extract a new IssueMovesController from IssuesController....
r3822 <li><%= context_menu_link l(:button_move), new_issue_move_path(:ids => @issues.collect(&:id)),
Jean-Philippe Lang
Issue list now supports bulk edit/move/delete (#563, #607). For now, issues from different projects can not be bulk edited/moved/deleted at once....
r1116 :class => 'icon-move', :disabled => !@can[:move] %></li>
Jean-Baptiste Barth
Added ability to delete issues from different projects through contextual menu (#5332)...
r4122 <li><%= context_menu_link l(:button_delete), {:controller => 'issues', :action => 'destroy', :ids => @issues.collect(&:id), :back_url => @back},
Jean-Philippe Lang
Warn about subtasks before deleting a parent issue (#6562)....
r5375 :method => :post, :confirm => issues_destroy_confirmation_message(@issues), :class => 'icon-del', :disabled => !@can[:delete] %></li>
Eric Davis
Added plugin hooks to the context menu...
r2534
<%= call_hook(:view_issues_context_menu_end, {:issues => @issues, :can => @can, :back => @back }) %>
Jean-Philippe Lang
Added AJAX based context menu on the project issue list that provide shortcuts for editing, re-assigning, changing the status or the priority, moving or deleting an issue....
r859 </ul>