diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb index 4433d29d9..ba9de5f71 100644 --- a/app/views/issues/_list.html.erb +++ b/app/views/issues/_list.html.erb @@ -1,143 +1,61 @@ <%= form_tag({}) do -%> <%= hidden_field_tag 'back_url', url_for(params), :id => nil %>
- +
-
-<% end -%> - -
-
- <% other_formats_links do |f| %> -<%= f.link_to 'Atom', :url => params.merge(:key => User.current.rss_key) %> -<%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %> -<%= f.link_to 'PDF', :url => params %> -<% end %> -
+<% end -%> \ No newline at end of file diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index e9cf77db1..a483cb724 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -1,6 +1,3 @@ - - -
<%= link_to l(:label_issue_new), { :controller => 'issues', :action => 'new', :copy_from => nil }, :param => :project_id, :caption => :label_issue_new, :html => { :accesskey => Redmine::AccessKeys.key_for(:new_issue) }, :class => 'icon icon-add' %> @@ -15,8 +12,7 @@ <% html_title(@query.new_record? ? l(:label_issue_plural) : @query.name) %> -<%= form_tag({ :controller => 'issues', :action => 'index', :project_id => @project }, -:method => :get, :id => 'query_form') do %> +<%= form_tag({ :controller => 'issues', :action => 'index', :project_id => @project }, :method => :get, :id => 'query_form') do %> <%= hidden_field_tag 'set_filter', '1' %>
"> @@ -39,11 +35,7 @@ - <%= select_tag('group_by', - options_for_select( - [[]] + @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]}, - @query.group_by) - ) %> + <%= select_tag('group_by', options_for_select([[]] + @query.groupable_columns.collect {|c| [c.caption, c.name.to_s]}, @query.group_by) ) %> <%= l(:button_show) %> @@ -54,58 +46,49 @@
- <%= link_to_function l(:label_issue_query), 'submit_query_form("query_form")', :class => 'icon icon-checked' %> <%= link_to l(:label_issue_cancel_query), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %>
<% end %> - - <%= error_messages_for 'query' %> + <% if @query.valid? %> -<% if @issues.empty? %> - - - -
-

- <%= l(:label_no_data) %> -

-<% else %> -<%= render :partial => 'issues/list', :locals => {:issues => @issues, :query => @query} %> - - -<% end %> -
- -
- - - - +
+ <% other_formats_links do |f| %> + <%= f.link_to 'Atom', :url => params.merge(:key => User.current.rss_key) %> + <%= f.link_to 'CSV', :url => params, :onclick => "showModal('csv-export-options', '330px'); return false;" %> + <%= f.link_to 'PDF', :url => params %> + <% end %> +
+ + + <% end %> + <%= call_hook(:view_issues_index_bottom, { :issues => @issues, :project => @project, :query => @query }) %> <% content_for :sidebar do %> diff --git a/public/themes/redpenny-master/stylesheets/application.css b/public/themes/redpenny-master/stylesheets/application.css index eac4b1436..e23c66b26 100644 --- a/public/themes/redpenny-master/stylesheets/application.css +++ b/public/themes/redpenny-master/stylesheets/application.css @@ -1620,7 +1620,6 @@ div.autoscroll li.hascontextmenu-1{ margin-left: 10px; padding: 8px 10px 0px 10px;/*by young*/ border-bottom: 1px dashed rgb(229,229,229); - width: 600px;/*by young*/ height: auto; }