更新 _no_results.html.erb

This commit is contained in:
钟进 2020-07-07 07:36:52 +00:00
parent d75b1fc087
commit 024c7795ca

View File

@ -6,7 +6,7 @@
<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>
<p class="CDB-Text CDB-Size-medium u-altTextColor">Try the <%= link_to 'first page', @first_page_url %> instead</p>
<% 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' ? 'maps' : 'datasets' %> 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>
<p class="CDB-Text CDB-Size-medium u-altTextColor">But maybe they have some very interesting <%= link_to @content_type === 'maps' ? 'datasets' : 'maps', alt_url %></p>
<% end %>
</div>