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 %>
- <%= link_to l(:project_module_repository), {:controller => 'repositories', :action => 'show', :id => @project.id}, :style => "color:#3CA5C6" %>
- <% unless @project.repositories.count == 0 %>
- (<%= @project.repositories.count %>)
- <% end %>
+ <%= link_to l(:project_module_repository), {:controller => 'repositories', :action => 'show', :id => @project.id}, :style => "color:#3CA5C6" %>
+ (<%= @project.repositories.count %>)
<%# if User.current.member_of?(@project) %>
<%#= link_to "+"+l(:project_module_create_repository), new_project_repository_path(@project),:style => "font-size:12px;color:#fff; padding:1px 3px 3px 3px;height:18px;margin-top:3px;background:#28be6c;float:right;line-height:20px;" %>
<%# end %>
diff --git a/config/locales/zh.yml b/config/locales/zh.yml
index 8858b0a38..d4a09b30b 100644
--- a/config/locales/zh.yml
+++ b/config/locales/zh.yml
@@ -2082,6 +2082,6 @@ zh:
label_recently_updated_courseware: 最近更新了课件
label_no_courses: 您没有参与任何课程,请搜索课程、加入课程,或者创建课程吧!
label_end_time: 截止时间
- label_send_email: 免费发送
+ label_send_email: 确定发送
label_input_email: 请输入邮箱地址
diff --git a/public/images/jiantou1.jpg b/public/images/jiantou1.jpg
new file mode 100644
index 000000000..208f44244
Binary files /dev/null and b/public/images/jiantou1.jpg differ
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index e0ab6f711..5786c5758 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -55,7 +55,7 @@ a:hover.info_foot_num{ color:#2390b2;}
/*左侧导航*/
.subNavBox{width:222px; background:#fff;margin:10px 10px 0 0;}
.subNav{border-bottom:solid 1px #e5e3da;cursor:pointer;font-weight:bold;font-size:14px;color:#3ca5c6;line-height:28px;padding-left:10px;background-color:#fff;}
-.subNav_jiantou{background:url(../images/jiantou1.jpg) no-repeat;background-position:95% 50%; background-color:#fff;}
+.subNav_jiantou{background:url(/images/jiantou1.jpg) no-repeat;background-position:95% 50%; background-color:#fff;}
.subNav_jiantou:hover{color:#0781b4; }
.currentDd{color:#0781b4; }
.currentDt{background-color:#fff; }
@@ -100,7 +100,7 @@ a:hover.more{ color:#64bdd9;}
.box_close{ display:block; float:right; width:16px; height:16px; background:url(../images/img_floatbox.png) 0 0 no-repeat;}
.box_close:hover{background:url(../images/img_floatbox.png) -22px 0 no-repeat;}
/*邮件邀请*/
-.box_main{ width:345px; margin:0 auto;padding-left:40px;}
+.box_main{ width:345px; margin:0 auto;padding-left:28px;}
.box_h3{ color:#15bccf; text-align:center; font-size:16px;margin-right:40px;}
.box_p{ color:#404040; margin-bottom:5px;}
.fb_item{ color:#919191; border:1px solid #919191; height:28px; margin-bottom:10px; padding-left:5px; width:290px;}