From 5b00db37de14d166cd635bfc920c37903c0822e7 Mon Sep 17 00:00:00 2001 From: wanglinchun Date: Fri, 27 Dec 2013 13:46:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=97=A0=E4=BD=9C=E4=B8=9A?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=97=B6=E7=9A=84=E6=8F=90=E7=A4=BA=E8=AF=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/bids/_bid_homework_show.html.erb | 5 +++++ app/views/users/user_projects.html.erb | 2 +- config/locales/zh.yml | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/app/views/bids/_bid_homework_show.html.erb b/app/views/bids/_bid_homework_show.html.erb index 1f583ffea..0a8c6ab28 100644 --- a/app/views/bids/_bid_homework_show.html.erb +++ b/app/views/bids/_bid_homework_show.html.erb @@ -1,5 +1,9 @@ +<% if bids.blank? %> +<%= l(:label_uncommit_homework) %> +<% else %> <% bids.each do |bid|%> +
<%= link_to(image_tag(url_to_avatar(bid.author), :class => 'avatar'), user_path(bid.author), :class => "avatar") %> @@ -65,6 +69,7 @@
+<% end %> <% end %>