Просмотр исходного кода

HUE-5290 [search] Empty collections landing page for admin is misleading

Enrico Berti 9 лет назад
Родитель
Сommit
91e0d121d7
1 измененных файлов с 2 добавлено и 10 удалено
  1. 2 10
      apps/search/src/search/templates/no_collections.mako

+ 2 - 10
apps/search/src/search/templates/no_collections.mako

@@ -46,16 +46,8 @@ ${ commonheader(_('Search'), "search", user, request, "120px") | n,unicode }
       <h1>${ _('It seems there is nothing to search on ...') }</h1>
       % if user.is_superuser:
       <h1>
-        ${ _('... First create a search dashboard with ') }
-        <a class="btn importBtn" href="${ url('search:new_search') }">
-          <i class="fa fa-file-o"></i> ${ _('Dashboard') }
-        </a>
-      </h1>
-      <h1>
-        ${ _('... or create a search index with ') }
-        <a class="btn importBtn" href="${ url('indexer:collections') }">
-          <i class="fa fa-database"></i> ${ _('Indexer') }
-        </a>
+        ${ _('What about creating a') }
+        <a href="${ url('indexer:collections') }">${ _('new index') }</a> ?
       </h1>
       % endif
     </div>