添加无作业提交时的提示语

This commit is contained in:
wanglinchun 2013-12-27 13:46:19 +08:00
parent 092c70ffd6
commit 5b00db37de
3 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,9 @@
<!--modified by huang-->
<% if bids.blank? %>
<%= l(:label_uncommit_homework) %>
<% else %>
<% bids.each do |bid|%>
<table class="content-text-list">
<tr><td colspan="2" valign="top" width="50" ><%= link_to(image_tag(url_to_avatar(bid.author), :class => 'avatar'), user_path(bid.author), :class => "avatar") %></td>
<td>
@ -65,6 +69,7 @@
</tr>
</table>
<% end %>
<% end %>
<div class="pagination">

View File

@ -27,7 +27,7 @@
</p></td>
</tr>
<tr>
<td align="left"><span class="font_lighter"> <%= format_time(membership.created_on) %></span></td><!-- modified by ming -->
<td align="left"><span class="font_lighter"><%= l(:label_create_time) %> : <%= format_time(membership.created_on) %></span></td><!-- modified by ming -->
<td align="right" ><%= h membership.roles.sort.collect(&:to_s).join(', ') %> </td>
</tr>
</table></td>

View File

@ -1251,6 +1251,7 @@ zh:
label_users_on_trustie: 用户
label_front: 第一页
label_commit_on: 次提交
label_uncommit_homework: 暂无学生提交作业!
#modify by men
label_x_commit_on:
zero: 次提交
@ -1374,7 +1375,7 @@ zh:
label_RMB_sign:
label_investment_budget: 投资预算:
label_investment_time_limit: 投资时限:
label_my_respond: 请在这里留下您的宝贵意见^-^
label_my_respond: 如有问题请在这里留下您的宝贵意见^-^
label_my_question: 请在此处留下您的意见或者问题~ # modified by bai
label_respond_requirement: 对需求进行了反馈
label_contest_requirement: 对竞赛进行了反馈