#1730 修改课程作业中,当作业名字过长时显示不能换行,贴近按钮显示
This commit is contained in:
parent
73afb7e6c8
commit
053edb7934
|
@ -45,7 +45,7 @@
|
||||||
<td>
|
<td>
|
||||||
<table width="580px" border="0">
|
<table width="580px" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2" valign="top">
|
<td valign="top">
|
||||||
<strong>
|
<strong>
|
||||||
<%= link_to(bid.author.lastname+bid.author.firstname, user_path(bid.author)) %>
|
<%= link_to(bid.author.lastname+bid.author.firstname, user_path(bid.author)) %>
|
||||||
</strong>
|
</strong>
|
||||||
|
@ -55,6 +55,8 @@
|
||||||
<span>
|
<span>
|
||||||
<%= link_to(bid.name, course_for_bid_path(bid), :class => 'bid_path') %>
|
<%= link_to(bid.name, course_for_bid_path(bid), :class => 'bid_path') %>
|
||||||
</span>
|
</span>
|
||||||
|
</td>
|
||||||
|
<td style="width: 110px;">
|
||||||
<span style="float: right">
|
<span style="float: right">
|
||||||
<% if User.current.logged? && is_cur_course_student(@course) %>
|
<% if User.current.logged? && is_cur_course_student(@course) %>
|
||||||
<% cur_user_homework = cur_user_homework_for_bid(bid) %>
|
<% cur_user_homework = cur_user_homework_for_bid(bid) %>
|
||||||
|
@ -83,8 +85,8 @@
|
||||||
<%end%>
|
<%end%>
|
||||||
<span class="span_wping">
|
<span class="span_wping">
|
||||||
<%= link_to(
|
<%= link_to(
|
||||||
l(:button_edit),
|
l(:button_edit),
|
||||||
{:action => 'edit', :controller=>'bids', :course_id =>@course.id, :bid_id => bid.id}
|
{:action => 'edit', :controller=>'bids', :course_id =>@course.id, :bid_id => bid.id}
|
||||||
) %>
|
) %>
|
||||||
</span>
|
</span>
|
||||||
<%#= link_to(
|
<%#= link_to(
|
||||||
|
|
|
@ -11,9 +11,15 @@
|
||||||
|
|
||||||
<div class="table1">
|
<div class="table1">
|
||||||
<div class='table_row1'>
|
<div class='table_row1'>
|
||||||
<div class='table_cell1 filename1' style='text-align: center;'><%=l(:label_attachment)%></div>
|
<div class='table_cell1 filename1' style='text-align: center;'>
|
||||||
<div class='table_cell1 filedown1'><%=l(:field_downloads)%></div>
|
<%=l(:label_attachment)%>
|
||||||
<div class='table_cell1 downicon1'><%=l(:button_download)%></div>
|
</div>
|
||||||
|
<div class='table_cell1 filedown1'>
|
||||||
|
<%=l(:field_downloads)%>
|
||||||
|
</div>
|
||||||
|
<div class='table_cell1 downicon1'>
|
||||||
|
<%=l(:button_download)%>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue