From 3285f1afd24d32a83949b76d8fdf1d8da2816a2a Mon Sep 17 00:00:00 2001 From: huangjingquan Date: Wed, 14 Aug 2013 22:03:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E9=A1=B9=E7=9B=AE=E4=B8=BB?= =?UTF-8?q?=E9=A1=B5=E6=96=87=E4=BB=B6=E6=95=B0=EF=BC=8C=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E5=BA=93=E6=8F=8F=E8=BF=B0=E5=BC=BA=E5=88=B6=E6=8D=A2=E8=A1=8C?= =?UTF-8?q?=EF=BC=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_projects.html.erb | 1 + app/views/repositories/show.html.erb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index 8e376e369..721b5e3b6 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -53,6 +53,7 @@ <%=link_to "#{@project.members.count}", project_member_path(@project) %> <%=link_to "#{@project.issues.count}", project_issues_path(@project) %> + <%=link_to "#{@project.attachments.count}", project_files_path(@project) %> <%= l(:label_member) %> <%= l(:label_project_issues) %> diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index dfbab076f..810346e35 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -9,7 +9,7 @@ <%= render :partial => 'breadcrumbs', :locals => { :path => @path, :kind => 'dir', :revision => @rev } %> <% if @repositories.size > 1 %> -

+

(所有版本:<%= @repositories.sort.collect {|repo| link_to h(repo.name), {:controller => 'repositories', :action => 'show',