课程首页加入课程样式

课程首页    公开资源-->资源
This commit is contained in:
sw 2015-06-26 14:46:37 +08:00
parent 399fc447f5
commit 66eba14dfe
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
$('#ajax-modal').html('<%= escape_javascript(render :partial => 'join_private_course') %>');
showModal('ajax-modal', '510px');
showModal('ajax-modal', '540px');
$('#ajax-modal').css('height','330px');
$('#ajax-modal').siblings().remove();
$('#ajax-modal').before("<span style='float: right;cursor:pointer;padding-left: 513px;'>" +

View File

@ -27,7 +27,7 @@
(<%= course.members.count %>人)
<% files_count = visable_attachemnts_incourse(course).count %>
<% if files_count > 0%>
(<%= link_to "#{files_count.to_s}份", course_files_path(course) %>公开资料)
(<%= link_to "#{files_count.to_s}份", course_files_path(course) %>资料)
<% end %>
</div>
</li>