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
de55534d
Commit
de55534d
authored
Apr 10, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove colon from item titles
parent
3a2afd34
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
12 additions
and
12 deletions
+12
-12
ee/app/assets/javascripts/geo_nodes/components/geo_node_health_status.vue
...vascripts/geo_nodes/components/geo_node_health_status.vue
+1
-1
ee/app/assets/javascripts/geo_nodes/components/node_detail_sections/node_details_section_main.vue
...onents/node_detail_sections/node_details_section_main.vue
+1
-1
ee/app/assets/javascripts/geo_nodes/components/node_detail_sections/node_details_section_other.vue
...nents/node_detail_sections/node_details_section_other.vue
+1
-1
ee/app/assets/javascripts/geo_nodes/components/node_detail_sections/node_details_section_sync.vue
...onents/node_detail_sections/node_details_section_sync.vue
+7
-7
spec/javascripts/geo_nodes/components/geo_node_health_status_spec.js
...ripts/geo_nodes/components/geo_node_health_status_spec.js
+1
-1
spec/javascripts/geo_nodes/components/node_detail_sections/node_details_section_main_spec.js
...ts/node_detail_sections/node_details_section_main_spec.js
+1
-1
No files found.
ee/app/assets/javascripts/geo_nodes/components/geo_node_health_status.vue
View file @
de55534d
...
...
@@ -26,7 +26,7 @@
<
template
>
<div
class=
"prepend-top-15 detail-section-item"
>
<div
class=
"node-detail-title"
>
{{
s__
(
'
GeoNodes|Health status
:
'
)
}}
{{
s__
(
'
GeoNodes|Health status
'
)
}}
</div>
<div
class=
"node-detail-value node-health-status"
...
...
ee/app/assets/javascripts/geo_nodes/components/node_detail_sections/node_details_section_main.vue
View file @
de55534d
...
...
@@ -51,7 +51,7 @@
<div
class=
"col-md-8"
>
<div
class=
"detail-section-item node-version"
>
<div
class=
"node-detail-title"
>
{{
s__
(
'
GeoNodes|GitLab version
:
'
)
}}
{{
s__
(
'
GeoNodes|GitLab version
'
)
}}
</div>
<div
class=
"node-detail-value node-detail-value-bold"
...
...
ee/app/assets/javascripts/geo_nodes/components/node_detail_sections/node_details_section_other.vue
View file @
de55534d
...
...
@@ -56,7 +56,7 @@
class=
"col-md-6 prepend-left-15 prepend-top-10 section-items-container"
>
<geo-node-detail-item
:item-title=
"s__('GeoNodes|Storage config
:
')"
:item-title=
"s__('GeoNodes|Storage config')"
:item-value=
"storageShardsStatus"
:item-value-type=
"$options.valueType.PLAIN"
:css-class=
"storageShardsCssClass"
...
...
ee/app/assets/javascripts/geo_nodes/components/node_detail_sections/node_details_section_sync.vue
View file @
de55534d
...
...
@@ -23,28 +23,28 @@
showSectionItems
:
false
,
nodeDetailItems
:
[
{
itemTitle
:
s__
(
'
GeoNodes|Sync settings
:
'
),
itemTitle
:
s__
(
'
GeoNodes|Sync settings
'
),
itemValue
:
this
.
syncSettings
(),
itemValueType
:
VALUE_TYPE
.
CUSTOM
,
customType
:
CUSTOM_TYPE
.
SYNC
,
},
{
itemTitle
:
s__
(
'
GeoNodes|Repositories
:
'
),
itemTitle
:
s__
(
'
GeoNodes|Repositories
'
),
itemValue
:
this
.
nodeDetails
.
repositories
,
itemValueType
:
VALUE_TYPE
.
GRAPH
,
},
{
itemTitle
:
s__
(
'
GeoNodes|Wikis
:
'
),
itemTitle
:
s__
(
'
GeoNodes|Wikis
'
),
itemValue
:
this
.
nodeDetails
.
wikis
,
itemValueType
:
VALUE_TYPE
.
GRAPH
,
},
{
itemTitle
:
s__
(
'
GeoNodes|Local LFS objects
:
'
),
itemTitle
:
s__
(
'
GeoNodes|Local LFS objects
'
),
itemValue
:
this
.
nodeDetails
.
lfs
,
itemValueType
:
VALUE_TYPE
.
GRAPH
,
},
{
itemTitle
:
s__
(
'
GeoNodes|Local attachments
:
'
),
itemTitle
:
s__
(
'
GeoNodes|Local attachments
'
),
itemValue
:
this
.
nodeDetails
.
attachments
,
itemValueType
:
VALUE_TYPE
.
GRAPH
,
},
...
...
@@ -59,13 +59,13 @@
itemValueType
:
VALUE_TYPE
.
PLAIN
,
},
{
itemTitle
:
s__
(
'
GeoNodes|Last event ID seen from primary
:
'
),
itemTitle
:
s__
(
'
GeoNodes|Last event ID seen from primary
'
),
itemValue
:
this
.
lastEventStatus
(),
itemValueType
:
VALUE_TYPE
.
CUSTOM
,
customType
:
CUSTOM_TYPE
.
EVENT
,
},
{
itemTitle
:
s__
(
'
GeoNodes|Latest event log status
:
'
),
itemTitle
:
s__
(
'
GeoNodes|Latest event log status
'
),
itemValue
:
this
.
cursorLastEventStatus
(),
itemValueType
:
VALUE_TYPE
.
CUSTOM
,
customType
:
CUSTOM_TYPE
.
EVENT
,
...
...
spec/javascripts/geo_nodes/components/geo_node_health_status_spec.js
View file @
de55534d
...
...
@@ -51,7 +51,7 @@ describe('GeoNodeHealthStatusComponent', () => {
it
(
'
renders container elements correctly
'
,
()
=>
{
const
vm
=
createComponent
(
'
Healthy
'
);
expect
(
vm
.
$el
.
classList
.
contains
(
'
detail-section-item
'
)).
toBe
(
true
);
expect
(
vm
.
$el
.
querySelector
(
'
.node-detail-title
'
).
innerText
.
trim
()).
toBe
(
'
Health status
:
'
);
expect
(
vm
.
$el
.
querySelector
(
'
.node-detail-title
'
).
innerText
.
trim
()).
toBe
(
'
Health status
'
);
const
iconContainerEl
=
vm
.
$el
.
querySelector
(
'
.node-detail-value.node-health-status
'
);
expect
(
iconContainerEl
).
not
.
toBeNull
();
...
...
spec/javascripts/geo_nodes/components/node_detail_sections/node_details_section_main_spec.js
View file @
de55534d
...
...
@@ -75,7 +75,7 @@ describe('NodeDetailsSectionMain', () => {
});
it
(
'
renders node version element
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.node-detail-title
'
).
innerText
.
trim
()).
toBe
(
'
GitLab version
:
'
);
expect
(
vm
.
$el
.
querySelector
(
'
.node-detail-title
'
).
innerText
.
trim
()).
toBe
(
'
GitLab version
'
);
expect
(
vm
.
$el
.
querySelector
(
'
.node-detail-value
'
).
innerText
.
trim
()).
toBe
(
'
10.4.0-pre (b93c51849b)
'
);
});
});
...
...
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