课程简介没有内容就不要显示

This commit is contained in:
cxt 2016-03-17 16:22:29 +08:00
parent 602864bd71
commit 1489c8d924
1 changed files with 2 additions and 0 deletions

View File

@ -227,6 +227,7 @@
</ul>
<% end %>
<% if @course.description && !@course.description.blank? %>
<div class="project_intro">
<div id="course_description" class="course_description">
<h4 ><%= l(:label_course_brief_introduction)%></h4>
@ -241,6 +242,7 @@
</span>
</div>
</div><!--项目简介 end-->
<% end %>
<div class="project_Label">
<h4 class="mb5" ><%= l(:label_tag)%></h4>
<div class="tag_h" >