From 071738c54ec06561fa6ab655ada27b332c0aa45b Mon Sep 17 00:00:00 2001 From: nieguanghui Date: Mon, 16 Dec 2013 17:03:18 +0800 Subject: [PATCH] =?UTF-8?q?=E7=95=99=E8=A8=80=E6=A1=86=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E8=B0=83=E6=95=B4=EF=BC=8C=E5=AE=9E=E8=B7=B5=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E2=80=9C=E7=9A=84=E8=AF=BE=E7=A8=8B=E5=90=8D=E4=B8=8B=E7=9A=84?= =?UTF-8?q?=EF=BC=88=E5=8A=A0=E5=85=A5=E8=AF=BE=E7=A8=8B=20=E5=85=B3?= =?UTF-8?q?=E6=B3=A8=EF=BC=89=E3=80=81=E2=80=9D=E5=88=9B=E6=96=B0=E7=AB=9E?= =?UTF-8?q?=E8=B5=9B=E2=80=9C=E7=9A=84=E7=AB=9E=E8=B5=9B=E5=90=8D=E4=B8=8B?= =?UTF-8?q?=E7=9A=84=EF=BC=88=E5=8A=A0=E5=85=A5=E7=AB=9E=E8=B5=9B=20?= =?UTF-8?q?=E5=85=B3=E6=B3=A8=EF=BC=89=E3=80=81=E2=80=9D=E8=BD=AF=E4=BB=B6?= =?UTF-8?q?=E4=BC=97=E5=8C=85=E2=80=9C=E7=9A=84=E5=90=8D=E7=A7=B0=E4=B8=8B?= =?UTF-8?q?=E7=9A=84=EF=BC=88=E9=80=89=E4=B8=BA=E4=BD=9C=E4=B8=9A=20?= =?UTF-8?q?=E5=85=B3=E6=B3=A8=EF=BC=89=EF=BC=8C=E8=BF=99=E4=B8=89=E4=B8=AA?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E7=9A=84=E6=A0=BC=E5=BC=8F=E7=BB=9F=E4=B8=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_projects.html.erb | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index ba98775e4..3a524157a 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -32,9 +32,9 @@ @@ -62,8 +62,7 @@
<%= @project.name %>
-
- +
<% unless User.current.member_of? @project %> <%= watcher_link(@project, User.current) %> <% end %> @@ -78,8 +77,8 @@ <% files_count = @project.attachments.count %> - <% @project.versions.each do |version| %> - <% files_count += version.attachments.count %> + <% @project.versions.each do |version| %> + <% files_count += version.attachments.count %> <% end %>
<%=link_to "#{@project.members.count}", project_member_path(@project) %>