##// END OF EJS Templates
Adds dynamic columns selection on the issue list (#4272)....
Adds dynamic columns selection on the issue list (#4272). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3105 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r2991:66540afc0820
r2991:66540afc0820
Show More
index.rhtml
86 lines | 3.9 KiB | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
Makes saved query filters visible (#2883)....
r2778 <div class="contextual">
<% if !@query.new_record? && @query.editable_by?(User.current) %>
<%= link_to l(:button_edit), {:controller => 'queries', :action => 'edit', :id => @query}, :class => 'icon icon-edit' %>
<%= link_to l(:button_delete), {:controller => 'queries', :action => 'destroy', :id => @query}, :confirm => l(:text_are_you_sure), :method => :post, :class => 'icon icon-del' %>
<% end %>
</div>
<h2><%= @query.new_record? ? l(:label_issue_plural) : h(@query.name) %></h2>
<% html_title(@query.new_record? ? l(:label_issue_plural) : @query.name) %>
<% form_tag({ :controller => 'queries', :action => 'new' }, :id => 'query_form') do %>
Jean-Philippe Lang
Issues pagination loses project param after applying or clearing filter (#2726)....
r2398 <%= hidden_field_tag('project_id', @project.to_param) if @project %>
Jean-Philippe Lang
Ticket grouping (#2679)....
r2604 <div id="query_form_content">
Jean-Philippe Lang
Makes tickets and timelogs filters collapsible (UI)....
r2777 <fieldset id="filters" class="collapsible">
<legend onclick="toggleFieldset(this);"><%= l(:label_filter_plural) %></legend>
<div>
<%= render :partial => 'queries/filters', :locals => {:query => @query} %>
</div>
Jean-Philippe Lang
Ticket grouping (#2679)....
r2604 </fieldset>
Jean-Philippe Lang
Makes tickets and timelogs filters collapsible (UI)....
r2777 <fieldset class="collapsible collapsed">
Jean-Philippe Lang
Remove hard coded string in a view (closes #4076)....
r2841 <legend onclick="toggleFieldset(this);"><%= l(:label_options) %></legend>
Jean-Philippe Lang
Makes tickets and timelogs filters collapsible (UI)....
r2777 <div style="display: none;">
Jean-Philippe Lang
Adds dynamic columns selection on the issue list (#4272)....
r2991 <table>
<tr>
<td><%= l(:field_column_names) %></td>
<td><%= render :partial => 'queries/columns', :locals => {:query => @query} %></td>
</tr>
<tr>
<td><%= l(:field_group_by) %></td>
<td><%= select_tag('group_by', options_for_select([[]] + @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]}, @query.group_by)) %></td>
</tr>
</table>
Jean-Philippe Lang
Makes tickets and timelogs filters collapsible (UI)....
r2777 </div>
</fieldset>
Jean-Philippe Lang
Ticket grouping (#2679)....
r2604 </div>
Jean-Philippe Lang
Fix IE6 display bug on the issue list....
r1270 <p class="buttons">
Jean-Philippe Lang
Ticket grouping (#2679)....
r2604
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 <%= link_to_remote l(:button_apply),
{ :url => { :set_filter => 1 },
Jean-Philippe Lang
Adds dynamic columns selection on the issue list (#4272)....
r2991 :before => 'selectAllOptions("selected_columns");',
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 :update => "content",
:with => "Form.serialize('query_form')"
Jean-Philippe Lang
Fixed: Update of time entry fails when the issue has been moved to an other project....
r896 }, :class => 'icon icon-checked' %>
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874
<%= link_to_remote l(:button_clear),
Jean-Philippe Lang
Issues pagination loses project param after applying or clearing filter (#2726)....
r2398 { :url => { :set_filter => 1, :project_id => @project },
Eric Davis
Fixed clearing the Issue filters in the issue list, broken by #2317...
r2323 :method => :get,
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 :update => "content",
}, :class => 'icon icon-reload' %>
Jean-Philippe Lang
Makes saved query filters visible (#2883)....
r2778 <% if @query.new_record? && User.current.allowed_to?(:save_queries, @project, :global => true) %>
Jean-Philippe Lang
Adds dynamic columns selection on the issue list (#4272)....
r2991 <%= link_to l(:button_save), {}, :onclick => "selectAllOptions('selected_columns'); $('query_form').submit(); return false;", :class => 'icon icon-save' %>
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 <% end %>
Jean-Philippe Lang
Fix IE6 display bug on the issue list....
r1270 </p>
Jean-Philippe Lang
Added a cross-project issue list. It displays the issues of all the projects visible by the user....
r673 <% end %>
Jean-Philippe Lang
Ticket grouping (#2679)....
r2604
Jean-Philippe Lang
Added a cross-project issue list. It displays the issues of all the projects visible by the user....
r673 <%= error_messages_for 'query' %>
<% if @query.valid? %>
<% if @issues.empty? %>
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 <p class="nodata"><%= l(:label_no_data) %></p>
Jean-Philippe Lang
Added a cross-project issue list. It displays the issues of all the projects visible by the user....
r673 <% else %>
Jean-Philippe Lang
Added the ability to customize columns of a saved query....
r771 <%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %>
Jean-Philippe Lang
New setting added to specify how many objects should be displayed on most paginated lists....
r1013 <p class="pagination"><%= pagination_links_full @issue_pages, @issue_count %></p>
Eric Davis
Allow the other format links to appear on the issue list (ATOM, PDF, CSV)....
r2425 <% end %>
Jean-Philippe Lang
Display links to Atom feeds (closes #496, #750)....
r1171
Jean-Philippe Lang
Adds an helper to render other formats download links....
r2331 <% other_formats_links do |f| %>
Jean-Philippe Lang
Fixed: export links on the issue list lose project param after applying a filter (#2908)....
r2486 <%= f.link_to 'Atom', :url => { :project_id => @project, :query_id => (@query.new_record? ? nil : @query), :key => User.current.rss_key } %>
<%= f.link_to 'CSV', :url => { :project_id => @project } %>
<%= f.link_to 'PDF', :url => { :project_id => @project } %>
Jean-Philippe Lang
Adds an helper to render other formats download links....
r2331 <% end %>
Jean-Philippe Lang
Added a cross-project issue list. It displays the issues of all the projects visible by the user....
r673 <% end %>
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874
<% content_for :sidebar do %>
<%= render :partial => 'issues/sidebar' %>
Jean-Philippe Lang
Queries can be marked as 'For all projects'. Such queries will be available on all projects and on the global issue list (#897, closes #671)....
r1296 <% end %>
Jean-Philippe Lang
Added atom feed on the new cross-project issue list....
r675
<% content_for :header_tags do %>
Jean-Philippe Lang
ProjectsController#list_issues, #export_issues_csv and #export_issues_pdf merged into IssuesController#index...
r874 <%= auto_discovery_link_tag(:atom, {:query_id => @query, :format => 'atom', :page => nil, :key => User.current.rss_key}, :title => l(:label_issue_plural)) %>
<%= auto_discovery_link_tag(:atom, {:action => 'changes', :query_id => @query, :format => 'atom', :page => nil, :key => User.current.rss_key}, :title => l(:label_changes_details)) %>
Jean-Philippe Lang
Fixed: context menu not available if the initial issue list is empty....
r1119 <%= javascript_include_tag 'context_menu' %>
<%= stylesheet_link_tag 'context_menu' %>
Jean-Philippe Lang
Added atom feed on the new cross-project issue list....
r675 <% end %>
Jean-Philippe Lang
Fixed: context menu not available if the initial issue list is empty....
r1119
<div id="context-menu" style="display: none;"></div>
<%= javascript_tag "new ContextMenu('#{url_for(:controller => 'issues', :action => 'context_menu')}')" %>