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
171931d7
Commit
171931d7
authored
Aug 06, 2020
by
Vitaly Slobodin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix MetricCard template
parent
12580cd4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
ee/app/assets/javascripts/analytics/shared/components/metric_card.vue
...s/javascripts/analytics/shared/components/metric_card.vue
+7
-5
No files found.
ee/app/assets/javascripts/analytics/shared/components/metric_card.vue
View file @
171931d7
...
...
@@ -45,7 +45,7 @@ export default {
<gl-skeleton-loading
v-if=
"isLoading"
class=
"gl-h-auto gl-py-3"
/>
<div
v-else
ref=
"metricsWrapper"
class=
"gl-display-flex"
>
<div
v-for=
"
{ tooltipText = '', ...metric }
in metrics"
v-for=
"
metric
in metrics"
:key=
"metric.key"
ref=
"metricItem"
class=
"js-metric-card-item gl-flex-grow-1 gl-text-center"
...
...
@@ -56,14 +56,16 @@ export default {
<h3
v-else
class=
"gl-my-2"
>
{{
valueText
(
metric
)
}}
</h3>
<p
class=
"text-secondary gl-font-sm gl-mb-2"
>
{{
metric
.
label
}}
<span
v-if=
"tooltipText.length"
>
<gl-icon
v-gl-tooltip=
"
{ title: tooltipText }"
<span
v-if=
"metric.tooltipText"
>
<gl-icon
v-gl-tooltip=
"
{ title: metric.tooltipText }"
:size="14"
class="gl-vertical-align-middle"
name="question"
data-testid="tooltip"
/>
</span>
/>
</span>
</p>
</div>
</div>
...
...
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