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
a264cb9c
Commit
a264cb9c
authored
Nov 15, 2019
by
Jeremy Elder
Committed by
Phil Hughes
Nov 15, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve "Use new list-task icon in text editor"
parent
35decc5e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
app/assets/javascripts/vue_shared/components/markdown/header.vue
...ets/javascripts/vue_shared/components/markdown/header.vue
+1
-1
app/views/projects/blob/_markdown_buttons.html.haml
app/views/projects/blob/_markdown_buttons.html.haml
+1
-1
changelogs/unreleased/34426-use-new-list-task-icon-in-text-editor.yml
...nreleased/34426-use-new-list-task-icon-in-text-editor.yml
+6
-0
No files found.
app/assets/javascripts/vue_shared/components/markdown/header.vue
View file @
a264cb9c
...
...
@@ -168,7 +168,7 @@ export default {
:prepend=
"true"
tag=
"* [ ] "
:button-title=
"__('Add a task list')"
icon=
"
task-done
"
icon=
"
list-task
"
/>
<toolbar-button
:tag=
"mdTable"
...
...
app/views/projects/blob/_markdown_buttons.html.haml
View file @
a264cb9c
...
...
@@ -6,7 +6,7 @@
=
markdown_toolbar_button
({
icon:
"link"
,
data:
{
"md-tag"
=>
"[{text}](url)"
,
"md-select"
=>
"url"
},
title:
_
(
"Add a link"
)
})
=
markdown_toolbar_button
({
icon:
"list-bulleted"
,
data:
{
"md-tag"
=>
"* "
,
"md-prepend"
=>
true
},
title:
_
(
"Add a bullet list"
)
})
=
markdown_toolbar_button
({
icon:
"list-numbered"
,
data:
{
"md-tag"
=>
"1. "
,
"md-prepend"
=>
true
},
title:
_
(
"Add a numbered list"
)
})
=
markdown_toolbar_button
({
icon:
"
task-done
"
,
data:
{
"md-tag"
=>
"* [ ] "
,
"md-prepend"
=>
true
},
title:
_
(
"Add a task list"
)
})
=
markdown_toolbar_button
({
icon:
"
list-task
"
,
data:
{
"md-tag"
=>
"* [ ] "
,
"md-prepend"
=>
true
},
title:
_
(
"Add a task list"
)
})
=
markdown_toolbar_button
({
icon:
"table"
,
data:
{
"md-tag"
=>
"| header | header |
\n
| ------ | ------ |
\n
| cell | cell |
\n
| cell | cell |"
,
"md-prepend"
=>
true
},
title:
_
(
"Add a table"
)
})
-
if
show_fullscreen_button
%button
.toolbar-btn.toolbar-fullscreen-btn.js-zen-enter.has-tooltip
{
type:
"button"
,
tabindex:
-
1
,
"aria-label"
:
"Go full screen"
,
title:
_
(
"Go full screen"
),
data:
{
container:
"body"
}
}
...
...
changelogs/unreleased/34426-use-new-list-task-icon-in-text-editor.yml
0 → 100644
View file @
a264cb9c
---
title
:
Replace task-done icon with list-task icon to better align with other toolbar
list icons
merge_request
:
author
:
type
:
other
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