cartodb-4.42/app/views/admin/shared/_no_results.html.erb
2024-04-09 12:00:11 +08:00

13 lines
803 B
Plaintext

<div class="IntermediateInfo">
<div class="LayoutIcon">
<i class="CDB-IconFont CDB-IconFont-map"></i>
</div>
<% if @total_count > 0 %>
<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">你可以 <%= link_to 'first page', @first_page_url %> 尝试</p>
<% else %>
<h3 class="CDB-Text CDB-Size-large u-mainTextColor u-secondaryTextColor u-bSpace--m u-tSpace-xl"><%= @name %> 暂时没有任何开放的 <%= @content_type === 'maps' ? '地图' : '数据' %> </h3>
<p class="CDB-Text CDB-Size-medium u-altTextColor">你可以看看有没有 <%= link_to @content_type === 'maps' ? '数据' : '地图', alt_url %></p>
<% end %>
</div>