From 543250a9e1cb6063910a5bdf9ab26b9b20f58658 Mon Sep 17 00:00:00 2001 From: sw <939547590@qq.com> Date: Thu, 16 Oct 2014 09:19:52 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B4=E7=90=86=E9=A1=B5=E9=9D=A2=E4=BB=A3?= =?UTF-8?q?=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/_list.html.erb | 37 ++++++++++++++++++------------ app/views/issues/_sidebar.html.erb | 7 +++--- app/views/issues/index.html.erb | 10 ++++++-- 3 files changed, 33 insertions(+), 21 deletions(-) diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb index 4d4ac256c..e04f8754e 100644 --- a/app/views/issues/_list.html.erb +++ b/app/views/issues/_list.html.erb @@ -2,27 +2,30 @@ - - <% end -%> \ No newline at end of file diff --git a/app/views/issues/_sidebar.html.erb b/app/views/issues/_sidebar.html.erb index 24b8a4fa4..9b55ff932 100644 --- a/app/views/issues/_sidebar.html.erb +++ b/app/views/issues/_sidebar.html.erb @@ -1,10 +1,10 @@

<%= l(:label_issue_plural) %>

-<%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %>
+<%= link_to l(:label_issue_view_all), _project_issues_path(@project, :set_filter => 1) %> +
<% if @project %> -<%= link_to l(:field_summary), project_issues_report_path(@project) %>
+ <%= link_to l(:field_summary), project_issues_report_path(@project) %>
<% end %> <%= call_hook(:view_issues_sidebar_issues_bottom) %> - <% if User.current.allowed_to?(:view_calendar, @project, :global => true) %> <%= link_to l(:label_calendar), _project_calendar_path(@project) %>
<% end %> @@ -12,6 +12,5 @@ <%= link_to l(:label_gantt), _project_gantt_path(@project) %>
<% end %> <%= call_hook(:view_issues_sidebar_planning_bottom) %> - <%= render_sidebar_queries %> <%= call_hook(:view_issues_sidebar_queries_bottom) %> diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index f5018fc94..ba6053fd6 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -92,11 +92,17 @@

<%= l(:label_export_options, :export_format => 'CSV') %>

<%= form_tag(params.merge({:format => 'csv', :page => nil}), :method => :get, :id => 'csv-export-form') do %>

- +

- +