Skip to content
代码片段 群组 项目
提交 c9b84b1d 编辑于 作者: Annabel Dunstone Gray's avatar Annabel Dunstone Gray
浏览文件

Remove unused blob header files

Changelog: changed
上级 1fc86eeb
No related branches found
No related tags found
无相关合并请求
...@@ -12,8 +12,6 @@ ...@@ -12,8 +12,6 @@
= render 'projects/blob/header_content', blob: blob = render 'projects/blob/header_content', blob: blob
.file-actions.d-none.d-sm-block .file-actions.d-none.d-sm-block
= render 'projects/blob/viewer_switcher', blob: blob
.btn-group{ role: "group" }< .btn-group{ role: "group" }<
= copy_blob_source_button(blob) = copy_blob_source_button(blob)
= download_blob_button(blob) = download_blob_button(blob)
......
...@@ -4,7 +4,6 @@ ...@@ -4,7 +4,6 @@
= render 'projects/blob/header_content', blob: blob = render 'projects/blob/header_content', blob: blob
.file-actions.gl-display-flex.gl-align-items-center.gl-flex-wrap.gl-md-justify-content-end< .file-actions.gl-display-flex.gl-align-items-center.gl-flex-wrap.gl-md-justify-content-end<
= render 'projects/blob/viewer_switcher', blob: blob unless blame
= render 'shared/web_ide_button', blob: blob = render 'shared/web_ide_button', blob: blob
.btn-group.gl-ml-3{ role: "group" } .btn-group.gl-ml-3{ role: "group" }
= copy_blob_source_button(blob) unless blame = copy_blob_source_button(blob) unless blame
......
- if blob.show_viewer_switcher?
- simple_viewer = blob.simple_viewer
- rich_viewer = blob.rich_viewer
.btn-group.js-blob-viewer-switcher.gl-ml-3{ role: "group" }>
- simple_label = format(_("Display %{viewer_type}"), viewer_type: simple_viewer.switcher_title)
%button.btn.gl-button.btn-default.btn-icon.js-blob-viewer-switch-btn.has-tooltip{ 'aria-label' => simple_label, title: simple_label, data: { viewer: 'simple', container: 'body' } }>
= sprite_icon(simple_viewer.switcher_icon)
- rich_label = format(_("Display %{viewer_type}"), viewer_type: rich_viewer.switcher_title)
%button.btn.gl-button.btn-default.btn-icon.js-blob-viewer-switch-btn.has-tooltip{ 'aria-label' => rich_label, title: rich_label, data: { viewer: 'rich', container: 'body' } }>
= sprite_icon(rich_viewer.switcher_icon)
...@@ -17413,9 +17413,6 @@ msgstr[1] "" ...@@ -17413,9 +17413,6 @@ msgstr[1] ""
msgid "Display" msgid "Display"
msgstr "" msgstr ""
   
msgid "Display %{viewer_type}"
msgstr ""
msgid "Display alerts from all configured monitoring tools." msgid "Display alerts from all configured monitoring tools."
msgstr "" msgstr ""
   
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册