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
2ae52e2b
Commit
2ae52e2b
authored
Oct 02, 2020
by
Martin Wortschack
Committed by
Ezekiel Kigbo
Oct 02, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace fa-warning with GitLab SVG icon in VSA limit warning
parent
9c885651
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
9 deletions
+19
-9
app/assets/javascripts/cycle_analytics/components/limit_warning_component.vue
...ts/cycle_analytics/components/limit_warning_component.vue
+14
-9
changelogs/unreleased/mw-replace-fa-warning-in-limit-warning-component.yml
...ased/mw-replace-fa-warning-in-limit-warning-component.yml
+5
-0
No files found.
app/assets/javascripts/cycle_analytics/components/limit_warning_component.vue
View file @
2ae52e2b
<
script
>
<
script
>
import
{
GlTooltipDirective
}
from
'
@gitlab/ui
'
;
import
{
Gl
Icon
,
Gl
TooltipDirective
}
from
'
@gitlab/ui
'
;
export
default
{
export
default
{
components
:
{
GlIcon
,
},
directives
:
{
directives
:
{
GlTooltip
:
GlTooltipDirective
,
GlTooltip
:
GlTooltipDirective
,
},
},
...
@@ -15,15 +18,17 @@ export default {
...
@@ -15,15 +18,17 @@ export default {
</
script
>
</
script
>
<
template
>
<
template
>
<span
v-if=
"count === 50"
class=
"events-info float-right"
>
<span
v-if=
"count === 50"
class=
"events-info float-right"
>
<i
<gl-icon
v-gl-tooltip
v-gl-tooltip=
"
{
:title=
"
title: n__(
n__('Limited to showing %d event at most', 'Limited to showing %d events at most', 50)
'Limited to showing %d event at most',
"
'Limited to showing %d events at most',
class=
"fa fa-warning"
50,
),
}"
name="warning"
aria-hidden="true"
aria-hidden="true"
>
/>
</i>
{{
n__
(
'
Showing %d event
'
,
'
Showing %d events
'
,
50
)
}}
{{
n__
(
'
Showing %d event
'
,
'
Showing %d events
'
,
50
)
}}
</span>
</span>
</
template
>
</
template
>
changelogs/unreleased/mw-replace-fa-warning-in-limit-warning-component.yml
0 → 100644
View file @
2ae52e2b
---
title
:
'
VSA:
Replace
fa-warning
with
GitLab
SVG
icon'
merge_request
:
43994
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