|
|
|
@ -33,23 +33,32 @@
|
|
|
|
|
<div class="main_context">
|
|
|
|
|
<div class="spaceleft">
|
|
|
|
|
<div>
|
|
|
|
|
<table style="width: 232px ; height: 80px;"> <!-- modified by bai -->
|
|
|
|
|
<table style="width: 232px ; height: 80px;">
|
|
|
|
|
<!-- modified by bai -->
|
|
|
|
|
<!-- <tr>
|
|
|
|
|
<td><span style="padding-left: 8px; "><%= l(:label_course_view) %></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</td>
|
|
|
|
|
</tr> -->
|
|
|
|
|
<tr><td style="padding-left: 8px"><%= l(:label_course_view) %></td></tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td style="padding-left: 8px"><%=l(:label_course_view) %></td>
|
|
|
|
|
<td class="info_font"><span style="color:#ed8924"><%= h @bid.name %></span></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr>
|
|
|
|
|
<td class="info_font" style=" word-wrap: break-word; word-break: break-all; color: #ed8924 "><%= h @bid.name %></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<tr><td style="padding-left: 8px"><a class="fontcolor"><%=link_to l(:label_course_return), project_path(@bid.courses.first) %></a>
|
|
|
|
|
<span style="padding-left: 8px">
|
|
|
|
|
<% if @user != User.current %>
|
|
|
|
|
<td>
|
|
|
|
|
<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-color'%>
|
|
|
|
|
</td></tr></table>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
<!--count-->
|
|
|
|
|
|
|
|
|
|
<!-- info -->
|
|
|
|
|
<div class="inf_user_image">
|
|
|
|
@ -66,9 +75,11 @@
|
|
|
|
|
</tr>
|
|
|
|
|
<% unless @bid.parent_id.nil?%>
|
|
|
|
|
<tr>
|
|
|
|
|
<td><div style=" color: rgb(255, 0, 0); width:200px">
|
|
|
|
|
<td>
|
|
|
|
|
<div style=" color: rgb(255, 0, 0); width:200px">
|
|
|
|
|
<% author=Bid.find(@bid.parent_id).author%>
|
|
|
|
|
作业来源于<%= link_to(author.lastname+author.firstname, user_path(Bid.find(@bid.parent_id).author))%>的需求:<%= link_to(Bid.find(@bid.parent_id).name, respond_path(Bid.find(@bid.parent_id))) %></div></td>
|
|
|
|
|
作业来源于<%= link_to(author.lastname+author.firstname, user_path(Bid.find(@bid.parent_id).author))%>的需求:<%= link_to(Bid.find(@bid.parent_id).name, respond_path(Bid.find(@bid.parent_id))) %>
|
|
|
|
|
</div></td>
|
|
|
|
|
</tr>
|
|
|
|
|
<% end %>
|
|
|
|
|
</table>
|
|
|
|
@ -118,9 +129,7 @@
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="user_underline"></div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
<!-- end -->
|
|
|
|
|
</div>
|
|
|
|
|