From 783d37a55f1fafbc76b0858e2cd9908d6e26299a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=92=9F=E8=BF=9B?= Date: Mon, 13 Jul 2020 16:32:01 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20=5Fno=5Fresults.html.erb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/views/admin/shared/_no_results.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/admin/shared/_no_results.html.erb b/app/views/admin/shared/_no_results.html.erb index 8810fd4..26bdb76 100644 --- a/app/views/admin/shared/_no_results.html.erb +++ b/app/views/admin/shared/_no_results.html.erb @@ -4,9 +4,9 @@ <% if @total_count > 0 %>

<%= @name %> 此页上没有任何项目

-

Try the <%= link_to 'first page', @first_page_url %> instead

+

你可以 <%= link_to 'first page', @first_page_url %> 尝试

<% else %> -

<%= @name %> doesn't have any public <%= @content_type === 'maps' ? '地图' : '数据' %> yet

-

But maybe they have some very interesting <%= link_to @content_type === 'maps' ? 'datasets' : 'maps', alt_url %>

+

<%= @name %> 暂时没有任何开放的 <%= @content_type === 'maps' ? '地图' : '数据' %>

+

你可以看看有没有 <%= link_to @content_type === 'maps' ? '数据' : '地图', alt_url %>

<% end %>