|
|
|
@ -1,9 +1,11 @@
|
|
|
|
|
<div class="project_r_h">
|
|
|
|
|
<h2 class="project_h2">课程作业</h2>
|
|
|
|
|
<h2 class="project_h2">
|
|
|
|
|
<%= l(:label_homework)%>
|
|
|
|
|
</h2>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="talk_top">
|
|
|
|
|
<p class="fl">
|
|
|
|
|
共有<span><%= @obj_count%></span>个作业
|
|
|
|
|
<%= l(:label_totle)%><span><%= @obj_count%></span><%= l(:label_homework_count)%>
|
|
|
|
|
</p>
|
|
|
|
|
<%= link_to( l(:label_course_homework_new), new_homework_course_path(@course), :class => 'problem_new_btn fl c_dorange') if @is_teacher %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
@ -16,7 +18,7 @@
|
|
|
|
|
<span class="fl"> <%= l(:label_user_create_project_homework) %>:</span>
|
|
|
|
|
<%= link_to(bid.name, course_for_bid_path(bid), :class => 'problem_tit fl fb c_dblue') %>
|
|
|
|
|
<div class="cl mb5"></div>
|
|
|
|
|
<p class="fl ">已提交的作业 ( <%= link_to bid.homeworks.count, course_for_bid_path(bid.id), :class => 'c_red'%> )</p>
|
|
|
|
|
<p class="fl "><%= l(:lebel_homework_commit)%> ( <%= link_to bid.homeworks.count, course_for_bid_path(bid.id), :class => 'c_red'%> )</p>
|
|
|
|
|
<% if @is_teacher%>
|
|
|
|
|
<%= bid_anonymous_comment(bid)%>
|
|
|
|
|
<%= link_to(l(:button_edit),edit_bid_path(:course_id =>@course.id, :bid_id => bid.id), :class => "fr mr10 work_edit") %>
|
|
|
|
@ -24,8 +26,8 @@
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<p id="bid_description_<%= bid.id%>" class="news_description mt5">
|
|
|
|
|
<%= textilizable bid, :description %>
|
|
|
|
|
<br /> 创建时间 : <%= format_time bid.created_on%></p>
|
|
|
|
|
<div class="news_foot" onclick="bid_show_more_des(<%= bid.id%>);">展开更多信息
|
|
|
|
|
<br /> <%= l(:label_create_time)%> : <%= format_time bid.created_on%></p>
|
|
|
|
|
<div class="news_foot" onclick="bid_show_more_des(<%= bid.id%>);"><%= l(:label_expend_information)%>
|
|
|
|
|
<span class="g-arr-down"><img src="/images/jiantou.jpg" width="12" height="6" /></span>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|