更新 _no_results.html.erb
This commit is contained in:
parent
6222bddbd1
commit
783d37a55f
@ -4,9 +4,9 @@
|
||||
</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">Try the <%= link_to 'first page', @first_page_url %> instead</p>
|
||||
<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 %> 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>
|
||||
<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>
|
||||
|
Loading…
Reference in New Issue
Block a user