Commit 1f29010a authored by Paul Slaughter's avatar Paul Slaughter

Merge branch 'joshbouganim-master-patch-98254' into 'master'

Update embedded snippet file links to open in new tab

See merge request gitlab-org/gitlab!64219
parents d960e711 55c6def5
...@@ -4,12 +4,12 @@ ...@@ -4,12 +4,12 @@
= external_snippet_icon('doc-text') = external_snippet_icon('doc-text')
%strong.file-title-name %strong.file-title-name
%a.gitlab-embedded-snippets-title{ href: url_for(only_path: false, overwrite_params: nil) } %a.gitlab-embedded-snippets-title{ href: url_for(only_path: false, overwrite_params: nil), target: '_blank', rel: 'noopener noreferrer' }
= blob.name = blob.name
%small %small
= number_to_human_size(blob.size) = number_to_human_size(blob.size)
%a.gitlab-logo-wrapper{ href: url_for(only_path: false, overwrite_params: nil), title: 'view on gitlab' } %a.gitlab-logo-wrapper{ href: url_for(only_path: false, overwrite_params: nil), title: 'View on GitLab', target: '_blank', rel: 'noopener noreferrer' }
%img.gitlab-logo{ src: image_url('ext_snippet_icons/logo.svg'), alt: "GitLab logo" } %img.gitlab-logo{ src: image_url('ext_snippet_icons/logo.svg'), alt: "GitLab logo" }
.file-actions.d-none.d-sm-block .file-actions.d-none.d-sm-block
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment