没有资源的情况下不要显示全部

This commit is contained in:
lizanle 2015-10-12 10:49:07 +08:00
parent 122145dbb2
commit 590a2480ba
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
<% if course %>
<% if course && tag_list.empty? == false%>
<span class="files_tag_icon" >
<a title="双击可编辑"
<a title=""
onclick="search_tag_attachment('<%= search_tag_attachment_course_files_path(course)%>','','<%= @q%>','<%= course.id%>');"
>全部</a></span>
<% end %>