let the homework show under class in homeworkpager
This commit is contained in:
parent
477e299e24
commit
0706fdd6dc
|
@ -2,7 +2,6 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title><%= h html_title %></title>
|
||||
<meta name="description" content="<%= Redmine::Info.app_name %>" />
|
||||
<meta name="keywords" content="issue,bug,tracker" />
|
||||
<%= csrf_meta_tag %>
|
||||
|
@ -33,28 +32,25 @@
|
|||
<div class="main_context">
|
||||
<div class="spaceleft">
|
||||
<div>
|
||||
<table style="width: 232px ; height: 80px;">
|
||||
<!-- modified by bai -->
|
||||
<!-- <tr>
|
||||
<td><span style="padding-left: 8px; "><%= l(:label_course_view) %></span>
|
||||
|
||||
|
||||
<table style="width: 232px ; height: 80px; padding-left: 8px">
|
||||
<tr style="font-size:16px">
|
||||
<td width="70px">课程名:</td>
|
||||
<td aligin = "center">
|
||||
<strong> <%= link_to(@bid.courses.first.name, project_path(@bid.courses.first)) %></strong>
|
||||
</td>
|
||||
</tr> -->
|
||||
<tr><td style="padding-left: 8px"><%= l(:label_course_view) %></td></tr>
|
||||
<tr>
|
||||
<td class="info_font"><span style="color:#ed8924"><%= h @bid.name %></span></td>
|
||||
</tr>
|
||||
<tr style="font-size:16px">
|
||||
<td width="70px">作业名:</td>
|
||||
<td align="center"><span style="color:#ed8924"><%= h @bid.name %></span></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<td></td>
|
||||
<td align="center">
|
||||
<span class="bid_course" style="padding-left: 8px"> <% if @user != User.current %>
|
||||
<%= watcher_link(@bid, User.current) %>
|
||||
<% end %> </span></td>
|
||||
<% end %> </span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><table><tr>
|
||||
<td align="center"><%= link_to l(:label_course_return), project_path(@bid.courses.first), :class => 'font-user-color' %></td>
|
||||
<td align="center"><%= link_to "返回个人主页", user_path(User.current), :class => 'font-user-after-color'%>
|
||||
</td></tr></table>
|
||||
</table>
|
||||
</div>
|
||||
<div class="user_underline"></div>
|
||||
|
@ -63,9 +59,7 @@
|
|||
<!-- info -->
|
||||
<div class="inf_user_image">
|
||||
<table>
|
||||
<tr>
|
||||
<td><%= l(:label_course_homework) %> : <%= link_to(@bid.courses.first.name, project_path(@bid.courses.first)) %></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td style="text-align: justify ; text-justify: inter-ideograph; width: 180px"><%= l(:label_teacher_homework) %> : <%= link_to(@user.lastname+@user.firstname, user_path(@user)) %></td>
|
||||
</tr>
|
||||
|
|
|
@ -1279,7 +1279,7 @@ zh:
|
|||
field_add: 添加于 %{time} 之前
|
||||
button_more: 更多
|
||||
label_user_response: 用户反馈
|
||||
label_student_response: 留言讨论区 # modified by bai
|
||||
label_student_response: 作业答疑 # modified by bai
|
||||
label_bidding_project: 参与项目
|
||||
label_homework_project: 已提交作业 #huang
|
||||
button_bidding: 我要参加
|
||||
|
|
Loading…
Reference in New Issue