diff options
Diffstat (limited to 'app/views/search/_results.html.haml')
-rw-r--r-- | app/views/search/_results.html.haml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/app/views/search/_results.html.haml b/app/views/search/_results.html.haml index 60df348891c..dc8243c2fc9 100644 --- a/app/views/search/_results.html.haml +++ b/app/views/search/_results.html.haml @@ -2,14 +2,15 @@ = render partial: "search/results/empty" - else .gray-content-block - Search results for + 在 %code = @search_term - unless @show_snippets - if @project - in project #{link_to @project.name_with_namespace, [@project.namespace.becomes(Namespace), @project]} + 项目 #{link_to @project.name_with_namespace, [@project.namespace.becomes(Namespace), @project]} - elsif @group - in group #{link_to @group.name, @group} + 群组 #{link_to @group.name, @group} + 搜索结果 .results.prepend-top-10 .search-results |