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
cf984061
Commit
cf984061
authored
Sep 24, 2020
by
Martin Wortschack
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace fa icons in description template
parent
761542d3
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
app/assets/javascripts/issue_show/components/fields/description_template.vue
...pts/issue_show/components/fields/description_template.vue
+7
-4
changelogs/unreleased/mw-description-template-replace-fa-icons.yml
...s/unreleased/mw-description-template-replace-fa-icons.yml
+5
-0
No files found.
app/assets/javascripts/issue_show/components/fields/description_template.vue
View file @
cf984061
<
script
>
<
script
>
/* eslint-disable @gitlab/vue-require-i18n-strings */
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
IssuableTemplateSelectors
from
'
../../../templates/issuable_template_selectors
'
;
import
IssuableTemplateSelectors
from
'
../../../templates/issuable_template_selectors
'
;
...
@@ -62,11 +61,15 @@ export default {
...
@@ -62,11 +61,15 @@ export default {
data-toggle=
"dropdown"
data-toggle=
"dropdown"
>
>
<span
class=
"dropdown-toggle-text"
>
{{
__
(
'
Choose a template
'
)
}}
</span>
<span
class=
"dropdown-toggle-text"
>
{{
__
(
'
Choose a template
'
)
}}
</span>
<i
aria-hidden=
"true"
class=
"fa fa-chevron-down"
>
</i>
<gl-icon
name=
"chevron-down"
class=
"gl-absolute gl-top-3 gl-right-3 gl-text-gray-500"
aria-hidden=
"true"
/>
</button>
</button>
<div
class=
"dropdown-menu dropdown-select"
>
<div
class=
"dropdown-menu dropdown-select"
>
<div
class=
"dropdown-title gl-display-flex gl-justify-content-center"
>
<div
class=
"dropdown-title gl-display-flex gl-justify-content-center"
>
<span
class=
"gl-ml-auto"
>
Choose a template
</span>
<span
class=
"gl-ml-auto"
>
{{
__
(
'
Choose a template
'
)
}}
</span>
<button
<button
class=
"dropdown-title-button dropdown-menu-close gl-ml-auto"
class=
"dropdown-title-button dropdown-menu-close gl-ml-auto"
:aria-label=
"__('Close')"
:aria-label=
"__('Close')"
...
@@ -82,7 +85,7 @@ export default {
...
@@ -82,7 +85,7 @@ export default {
:placeholder=
"__('Filter')"
:placeholder=
"__('Filter')"
autocomplete=
"off"
autocomplete=
"off"
/>
/>
<
i
aria-hidden=
"true"
class=
"fa fa-search dropdown-input-search"
>
</i
>
<
gl-icon
name=
"search"
class=
"dropdown-input-search"
aria-hidden=
"true"
/
>
<gl-icon
<gl-icon
name=
"close"
name=
"close"
class=
"dropdown-input-clear js-dropdown-input-clear"
class=
"dropdown-input-clear js-dropdown-input-clear"
...
...
changelogs/unreleased/mw-description-template-replace-fa-icons.yml
0 → 100644
View file @
cf984061
---
title
:
"
Description
Templates:
Replace
fontawesome
icons
with
GitLab
SVGs"
merge_request
:
43379
author
:
type
:
changed
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