搜不到资源的时候 改为没有数据可以展示

This commit is contained in:
lizanle 2015-09-01 14:11:04 +08:00
parent 798326d6ef
commit a78128f5ac
1 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,8 @@
<% if attachments.nil? || attachments.empty? %>
<p class="nodata">
<%= l(:label_no_data) %>
</p>
<% else %>
<% attachments.each do |attach| %>
<ul class="resourcesList">