From c711e29cd58b954083b831a34f7823e8a7747a3d Mon Sep 17 00:00:00 2001 From: huang Date: Wed, 20 May 2015 09:35:42 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E9=A1=B9=E7=9B=AE=E6=88=90=E5=91=98?= =?UTF-8?q?=E5=8F=AF=E4=BB=A5=E6=9F=A5=E7=9C=8B=E9=A1=B9=E7=9B=AE=E7=A7=81?= =?UTF-8?q?=E6=9C=89issue=E3=80=82=202=E3=80=81=E5=8C=BA=E5=88=86=E4=B8=8D?= =?UTF-8?q?=E5=8F=AF=E8=A7=81=E5=92=8C=E5=8F=AF=E8=A7=81issue=E7=9A=84?= =?UTF-8?q?=E6=95=B0=E7=9B=AE=E7=BB=9F=E8=AE=A1=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/issues/index.html.erb | 4 ++-- app/views/issues/new.html.erb | 2 -- app/views/projects/_development_group.html.erb | 4 ++-- app/views/projects/_research_team.html.erb | 2 +- 4 files changed, 5 insertions(+), 7 deletions(-) diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 5307b3bf6..3abc7101c 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -66,8 +66,8 @@
<%# end %> -

<%= l(:label_issues_sum) %>:<%= @project.issues.count %> - <%= l(:lable_issues_undo) %>:<%= @project.issues.where('status_id in (1,2,4,6)').count %> +

<%= l(:label_issues_sum) %>:<%= @project.issues.visible.all.count %> + <%= l(:lable_issues_undo) %>:<%= @project.issues.where('status_id in (1,2,4,6)').visible.all.count %>

diff --git a/app/views/issues/new.html.erb b/app/views/issues/new.html.erb index 62e6947a7..137e203ef 100644 --- a/app/views/issues/new.html.erb +++ b/app/views/issues/new.html.erb @@ -2,7 +2,6 @@

<%= l(:label_issue_new) %>

<%= call_hook(:view_issues_new_top, {:issue => @issue}) %> - <%= labelled_form_for @issue, :url => project_issues_path(@project), :html => {:id => 'issue-form', :multipart => true} do |f| %> <%= error_messages_for 'issue' %> @@ -16,7 +15,6 @@ <%#= preview_link preview_new_issue_path(:project_id => @project), 'issue-form', 'preview', {:class => "blue_btn fl ml10"} %> <% end %> -
<% content_for :header_tags do %> diff --git a/app/views/projects/_development_group.html.erb b/app/views/projects/_development_group.html.erb index 7f79fc5f1..676761831 100644 --- a/app/views/projects/_development_group.html.erb +++ b/app/views/projects/_development_group.html.erb @@ -8,8 +8,8 @@ <% unless @project.enabled_modules.where("name = 'issue_tracking'").empty? %>