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
4644573d
Commit
4644573d
authored
Jan 14, 2022
by
Nic O'Sullivan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add missing tooltip and aria-label for commit description toggle
Changelog: fixed
parent
8f0ec8d2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
app/assets/javascripts/diffs/components/commit_item.vue
app/assets/javascripts/diffs/components/commit_item.vue
+2
-0
app/views/projects/commits/_commit.html.haml
app/views/projects/commits/_commit.html.haml
+1
-1
No files found.
app/assets/javascripts/diffs/components/commit_item.vue
View file @
4644573d
...
@@ -155,9 +155,11 @@ export default {
...
@@ -155,9 +155,11 @@ export default {
<gl-button
<gl-button
v-if=
"commit.description_html && collapsible"
v-if=
"commit.description_html && collapsible"
v-gl-tooltip
class=
"js-toggle-button"
class=
"js-toggle-button"
size=
"small"
size=
"small"
icon=
"ellipsis_h"
icon=
"ellipsis_h"
:title=
"__('Toggle commit description')"
:aria-label=
"__('Toggle commit description')"
:aria-label=
"__('Toggle commit description')"
/>
/>
...
...
app/views/projects/commits/_commit.html.haml
View file @
4644573d
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
·
·
=
commit
.
short_id
=
commit
.
short_id
-
if
commit
.
description?
&&
collapsible
-
if
commit
.
description?
&&
collapsible
%button
.gl-button.btn.btn-default.button-ellipsis-horizontal.btn-sm.gl-ml-2.text-expander.js-toggle-button
%button
.gl-button.btn.btn-default.button-ellipsis-horizontal.btn-sm.gl-ml-2.text-expander.js-toggle-button
{
data:
{
toggle:
'tooltip'
,
container:
'body'
},
:title
=>
_
(
"Toggle commit description"
),
aria:
{
label:
_
(
"Toggle commit description"
)
}
}
=
sprite_icon
(
'ellipsis_h'
,
size:
12
)
=
sprite_icon
(
'ellipsis_h'
,
size:
12
)
.committer
.committer
...
...
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