Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
adc60119
Commit
adc60119
authored
Oct 19, 2021
by
Michael Le
Committed by
Vitaly Slobodin
Nov 19, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use aria-label
parent
d111268f
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
app/assets/javascripts/snippets/components/snippet_blob_view.vue
...ets/javascripts/snippets/components/snippet_blob_view.vue
+1
-1
app/views/shared/snippets/_embed.html.haml
app/views/shared/snippets/_embed.html.haml
+1
-3
No files found.
app/assets/javascripts/snippets/components/snippet_blob_view.vue
View file @
adc60119
...
...
@@ -90,7 +90,7 @@ export default {
};
</
script
>
<
template
>
<figure
class=
"file-holder snippet-file-content"
>
<figure
class=
"file-holder snippet-file-content"
aria-label=
"Code snippet"
>
<blob-header
:blob=
"blob"
:active-viewer-type=
"viewer.type"
...
...
app/views/shared/snippets/_embed.html.haml
View file @
adc60119
.gitlab-embed-snippets
figcaption
=
blob
.
name
.js-file-title.file-title-flex-parent
.file-header-content
=
external_snippet_icon
(
'doc-text'
)
...
...
@@ -19,5 +17,5 @@
=
embedded_raw_snippet_button
(
@snippet
,
blob
)
=
embedded_snippet_download_button
(
@snippet
,
blob
)
%figure
.file-holder.snippet-file-content
%figure
.file-holder.snippet-file-content
{
"aria-label"
=>
"Code snippet"
}
=
render
'projects/blob/viewer'
,
viewer:
blob
.
simple_viewer
,
load_async:
false
,
external_embed:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment