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
18d53035
Commit
18d53035
authored
Nov 10, 2020
by
mfluharty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move card title to $options
parent
854693aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
ee/app/assets/javascripts/analytics/repository_analytics/components/test_coverage_summary.vue
...repository_analytics/components/test_coverage_summary.vue
+5
-2
No files found.
ee/app/assets/javascripts/analytics/repository_analytics/components/test_coverage_summary.vue
View file @
18d53035
<
script
>
<
script
>
import
{
s__
}
from
'
~/locale
'
;
import
{
__
,
s__
}
from
'
~/locale
'
;
import
MetricCard
from
'
~/analytics/shared/components/metric_card.vue
'
;
import
MetricCard
from
'
~/analytics/shared/components/metric_card.vue
'
;
import
getGroupTestCoverage
from
'
../graphql/queries/get_group_test_coverage.query.graphql
'
;
import
getGroupTestCoverage
from
'
../graphql/queries/get_group_test_coverage.query.graphql
'
;
...
@@ -52,6 +52,9 @@ export default {
...
@@ -52,6 +52,9 @@ export default {
isLoading
:
false
,
isLoading
:
false
,
};
};
},
},
i18n
:
{
cardTitle
:
__
(
'
Overall Activity
'
),
},
computed
:
{
computed
:
{
metrics
()
{
metrics
()
{
return
[
return
[
...
@@ -77,5 +80,5 @@ export default {
...
@@ -77,5 +80,5 @@ export default {
};
};
</
script
>
</
script
>
<
template
>
<
template
>
<metric-card
:title=
"
__('Overall Activity')
"
:metrics=
"metrics"
:is-loading=
"isLoading"
/>
<metric-card
:title=
"
$options.i18n.cardTitle
"
:metrics=
"metrics"
:is-loading=
"isLoading"
/>
</
template
>
</
template
>
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