课程报500
This commit is contained in:
parent
d2bff21de5
commit
d967a31ec9
|
@ -8,8 +8,8 @@
|
||||||
<div class="fl">
|
<div class="fl">
|
||||||
<p class="f12 mb5"><%=link_to e_course.name, course_path(e_course.id), :class => "hidden fl w170" %><div class="cl"></div> </p>
|
<p class="f12 mb5"><%=link_to e_course.name, course_path(e_course.id), :class => "hidden fl w170" %><div class="cl"></div> </p>
|
||||||
<p class="f12">
|
<p class="f12">
|
||||||
<% if visable_attachemnts(e_course.attachments).count > 0 %>
|
<% if visable_attachemnts_incourse(e_course).count > 0 %>
|
||||||
<span class="fl mr15 fontGrey4"><%= l(:project_module_attachments) %>(<%= link_to visable_attachemnts(e_course.attachments).count, course_files_path(e_course), :class => "linkBlue2" %>)</span>
|
<span class="fl mr15 fontGrey4"><%= l(:project_module_attachments) %>(<%= link_to visable_attachemnts_incourse(e_course).count, course_files_path(e_course), :class => "linkBlue2" %>)</span>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if e_course.homework_commons.where("publish_time <= '#{Date.today}'").count > 0 %>
|
<% if e_course.homework_commons.where("publish_time <= '#{Date.today}'").count > 0 %>
|
||||||
<span class="fl fontGrey4"><%= l(:label_homework_commont) %>(<%= link_to e_course.homework_commons.where("publish_time <= '#{Date.today}'").count, homework_common_index_path(:course=>e_course.id), :class => "linkBlue2" %>)</span>
|
<span class="fl fontGrey4"><%= l(:label_homework_commont) %>(<%= link_to e_course.homework_commons.where("publish_time <= '#{Date.today}'").count, homework_common_index_path(:course=>e_course.id), :class => "linkBlue2" %>)</span>
|
||||||
|
|
Loading…
Reference in New Issue