将课程的“私有”标志改成不可点击

This commit is contained in:
cxt 2015-09-14 17:29:00 +08:00
parent 4a9fd15bfd
commit d0c19124b7
1 changed files with 3 additions and 3 deletions

View File

@ -87,12 +87,12 @@
<div >
<a class="pr_info_name fl c_dark fb break_word" href="http://<%= Setting.host_course%>/courses/<%= @course.id%>" target="_blank">
<%= @course.name %>
<% if @course.is_public == 0%>
</a>
<% if @course.is_public == 0%>
<span class="img_private ">
<%= l(:field_is_private)%>
</span>
<% end %>
</a>
<% end %>
</div>
<div class="cl"></div>
<div class="pr_info_foot ">