This commit is contained in:
yanxd 2014-04-11 10:56:55 +08:00
parent 6baa87a8ea
commit 3e1a674ed9
3 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
<td>
<table width="580px" border="0">
<tr>
<td colspan="2" valign="top"><strong> <%= link_to homework.user, user_path(homework.user)%></strong> <span class="font_lighter">提交了作业</span></td>
<td colspan="2" valign="top"><strong> <%= link_to homework.user, user_path(homework.user)%></strong> <span class="font_lighter">提交</span></td>
</tr>
<tr>
<td colspan="2" valign="top">&nbsp;

View File

@ -14,7 +14,7 @@
<% else %>
<% end %>
<div class="bid_description">
<%= @bid.description %>
<%= textilizable(@bid, :description) %>
<% if @bid.attachments.any?%>
<% options = {:author => true} %>
<%= render :partial => 'attachments/links', :locals => {:attachments => @bid.attachments, :options => options} %>

View File

@ -51,7 +51,7 @@ function showSubH(/* ... */){
}
}
function deal_error (argument) {
$('#OpenWindow-content').html('<span class=\"font_color_orange\" > Network Error:<br/>http_status:' + argument.status + '<br/>statusText:' + argument.statusText + ' <\/span>\n');
$('#OpenWindow-content').html('<strong>Network Error</strong><span class=\"font_color_orange\" > <br/>http_status:' + argument.status + '<br/>statusText:' + argument.statusText + ' <\/span>\n');
}
$.post(post_url,{}, deal_post).error(deal_error);
}