Skip to content
代码片段 群组 项目
未验证 提交 ae45eaa9 编辑于 作者: Frédéric Caplette's avatar Frédéric Caplette 提交者: GitLab
浏览文件

Merge branch 'update-tags-empty-result' into 'master'

Use EmptyResult when there are no tags found

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/166528



Merged-by: default avatarFrédéric Caplette <fcaplette@gitlab.com>
Approved-by: default avatarFrédéric Caplette <fcaplette@gitlab.com>
Co-authored-by: default avatarJulia Miocene <jmiocene@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -38,8 +38,7 @@ ...@@ -38,8 +38,7 @@
= render 'shared/errors/gitaly_unavailable', reason: s_('TagsPage|Unable to load tags') = render 'shared/errors/gitaly_unavailable', reason: s_('TagsPage|Unable to load tags')
- if show_empty_search - if show_empty_search
= render Pajamas::EmptyStateComponent.new(svg_path: 'illustrations/empty-state/empty-search-md.svg', = render ::Layouts::EmptyResultComponent.new(type: :search)
title: s_('TagsPage|Sorry, your filter produced no results'))
- else - else
%ul.flex-list.content-list %ul.flex-list.content-list
= render partial: 'tag', collection: @tags = render partial: 'tag', collection: @tags
......
...@@ -53950,9 +53950,6 @@ msgstr "" ...@@ -53950,9 +53950,6 @@ msgstr ""
msgid "TagsPage|Repository has no tags yet" msgid "TagsPage|Repository has no tags yet"
msgstr "" msgstr ""
   
msgid "TagsPage|Sorry, your filter produced no results"
msgstr ""
msgid "TagsPage|Tags" msgid "TagsPage|Tags"
msgstr "" msgstr ""
   
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册