搜不到资源的时候 改为没有数据可以展示
This commit is contained in:
parent
798326d6ef
commit
a78128f5ac
|
@ -1,5 +1,8 @@
|
||||||
|
|
||||||
<% if attachments.nil? || attachments.empty? %>
|
<% if attachments.nil? || attachments.empty? %>
|
||||||
|
<p class="nodata">
|
||||||
|
<%= l(:label_no_data) %>
|
||||||
|
</p>
|
||||||
<% else %>
|
<% else %>
|
||||||
<% attachments.each do |attach| %>
|
<% attachments.each do |attach| %>
|
||||||
<ul class="resourcesList">
|
<ul class="resourcesList">
|
||||||
|
|
Loading…
Reference in New Issue