From c17148a15146976e500a701077b0ef7af3773d44 Mon Sep 17 00:00:00 2001 From: baiyu Date: Thu, 21 Nov 2013 10:18:46 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=99=E7=AB=9E=E8=B5=9B=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=BA=86=E2=80=9C=E5=8F=82=E4=B8=8E=E4=BA=BA=E2=80=9D=E4=B8=8E?= =?UTF-8?q?=E2=80=9C=E5=8F=82=E4=B8=8E=E7=AB=9E=E8=B5=9B=E2=80=9D=E7=9A=84?= =?UTF-8?q?=E5=A4=A7=E5=8F=B7=E6=95=B0=E5=AD=97=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/layouts/base_contest.html.erb | 29 +++++++++++++++++++++++++ config/locales/zh.yml | 3 ++- 2 files changed, 31 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/base_contest.html.erb b/app/views/layouts/base_contest.html.erb index a75374eb8..c082013b9 100644 --- a/app/views/layouts/base_contest.html.erb +++ b/app/views/layouts/base_contest.html.erb @@ -81,6 +81,35 @@ <% end %> + + + + +
+ + + + + + + + + + + + + + + + + +
<%=link_to "#{@bid.join_in_contests.count}",:controller => "bids", :action => "show_participator" %><%=link_to "#{@bid.projects.count}", :controller => 'bids', :action => 'show_project' %>
<%= l(:label_participator) %> <%= l(:label_bidding_project) %>
+
+
+ + +
+ diff --git a/config/locales/zh.yml b/config/locales/zh.yml index cfda02be3..1e7c8a5ad 100644 --- a/config/locales/zh.yml +++ b/config/locales/zh.yml @@ -1591,7 +1591,8 @@ zh: label_join_contest: 加入竞赛 label_exit_contest: 退出竞赛 - label_contest_modify_settings: 配置竞赛 #added by bai + label_participator: 参与者 + label_contest_modify_settings: 配置竞赛 label_no_current_participate: 该竞赛暂无参与者 #end
<%= l(:lable_contest_user) %><%= link_to(@user.show_name, user_path(@user))%>