更新 _no_results.html.erb

This commit is contained in:
钟进 2020-07-10 14:42:34 +00:00
parent 3222c5480b
commit ee2f9c0173

View File

@ -3,7 +3,7 @@
<i class="CDB-IconFont CDB-IconFont-map"></i> <i class="CDB-IconFont CDB-IconFont-map"></i>
</div> </div>
<% if @total_count > 0 %> <% if @total_count > 0 %>
<h3 class="CDB-Text CDB-Size-large u-mainTextColor u-secondaryTextColor u-bSpace--m u-tSpace-xl"><%= @name %> doesn't have any items on this page</h3> <h3 class="CDB-Text CDB-Size-large u-mainTextColor u-secondaryTextColor u-bSpace--m u-tSpace-xl"><%= @name %> 此页上没有任何项目</h3>
<p class="CDB-Text CDB-Size-medium u-altTextColor">Try the <%= link_to 'first page', @first_page_url %> instead</p> <p class="CDB-Text CDB-Size-medium u-altTextColor">Try the <%= link_to 'first page', @first_page_url %> instead</p>
<% else %> <% else %>
<h3 class="CDB-Text CDB-Size-large u-mainTextColor u-secondaryTextColor u-bSpace--m u-tSpace-xl"><%= @name %> doesn't have any public <%= @content_type === 'maps' ? '地图' : '数据' %> yet</h3> <h3 class="CDB-Text CDB-Size-large u-mainTextColor u-secondaryTextColor u-bSpace--m u-tSpace-xl"><%= @name %> doesn't have any public <%= @content_type === 'maps' ? '地图' : '数据' %> yet</h3>