|
|
|
@ -12,8 +12,13 @@
|
|
|
|
|
<table width="100%" border="0">
|
|
|
|
|
<tr>
|
|
|
|
|
<td colspan="2"><%= link_to(bid.author.lastname+bid.author.firstname, user_path(bid.author), :class => 'bid_user') %>
|
|
|
|
|
在课程: <%= link_to(bid.courses.first.name, project_path(bid.courses.first)) %>
|
|
|
|
|
中布置了作业: <%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %>
|
|
|
|
|
<%if @user.language=='zh'%>
|
|
|
|
|
<%= l(:label_in_course)%>: <%= link_to(bid.courses.first.name, project_path(bid.courses.first)) %>
|
|
|
|
|
<%= l(:label_assign_homework)%>: <%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %>
|
|
|
|
|
<%else%>
|
|
|
|
|
<%= l(:label_assign_homework)%>: <%= link_to(bid.name, respond_path(bid), :class => 'bid_path') %>
|
|
|
|
|
<%= l(:label_in_course)%>: <%= link_to(bid.courses.first.name, project_path(bid.courses.first)) %>
|
|
|
|
|
<%end%>
|
|
|
|
|
<span style="float: right">
|
|
|
|
|
<%= link_to(
|
|
|
|
|
l(:button_delete),
|
|
|
|
|