From a010c800d6b610892c085005a80fb6f2301e73ea Mon Sep 17 00:00:00 2001 From: huang Date: Fri, 13 Mar 2015 15:37:54 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9D=83=E9=99=90=E5=BA=93?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E6=83=85=E5=86=B5=E4=B8=8B403=E9=97=AE?= =?UTF-8?q?=E9=A2=98=20=E4=BF=AE=E6=94=B9=E9=A1=B9=E7=9B=AE=E6=A0=87?= =?UTF-8?q?=E9=A2=98=E6=A0=B7=E5=BC=8F=20=E7=A1=AE=E8=AE=A4=E5=8F=91?= =?UTF-8?q?=E9=80=81=E5=9B=BD=E9=99=85=E5=8C=96=20=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E5=B0=8F=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_projects.html.erb | 12 +++++------- config/locales/zh.yml | 2 +- public/images/jiantou1.jpg | Bin 0 -> 1308 bytes public/stylesheets/application.css | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 public/images/jiantou1.jpg diff --git a/app/views/layouts/base_projects.html.erb b/app/views/layouts/base_projects.html.erb index 23f0be5e6..8a731668c 100644 --- a/app/views/layouts/base_projects.html.erb +++ b/app/views/layouts/base_projects.html.erb @@ -101,8 +101,8 @@
-
- <%= link_to @project.name, project_path(@project) %> +
+ <%= link_to @project.name, project_path(@project), :style => "color:#3E4040"%> <% if !@project.is_public? %> <%= l(:label_private)%> <% end %> @@ -177,12 +177,10 @@ <% end %>
<% end%> - <% unless @project.enabled_modules.where("name = 'repository'").empty? %> + <% unless @project.enabled_modules.where("name = 'repository'").empty? || @project.repositories.count == 0 %>