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
af2a8cd2
Commit
af2a8cd2
authored
Sep 22, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor fixes after review
parent
617f00f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
app/assets/javascripts/environments/components/deploy_board_component.vue
...cripts/environments/components/deploy_board_component.vue
+2
-1
app/assets/javascripts/environments/stores/environments_store.js
...ets/javascripts/environments/stores/environments_store.js
+2
-2
No files found.
app/assets/javascripts/environments/components/deploy_board_component.vue
View file @
af2a8cd2
...
@@ -9,6 +9,7 @@
...
@@ -9,6 +9,7 @@
* [Mockup](https://gitlab.com/gitlab-org/gitlab-ce/uploads/2f655655c0eadf655d0ae7467b53002a/environments__deploy-graphic.png)
* [Mockup](https://gitlab.com/gitlab-org/gitlab-ce/uploads/2f655655c0eadf655d0ae7467b53002a/environments__deploy-graphic.png)
*/
*/
import
_
from
'
underscore
'
;
import
_
from
'
underscore
'
;
import
{
n__
}
from
'
../../locale
'
;
import
deployBoardSvg
from
'
empty_states/icons/_deploy_board.svg
'
;
import
deployBoardSvg
from
'
empty_states/icons/_deploy_board.svg
'
;
import
instanceComponent
from
'
./deploy_board_instance_component.vue
'
;
import
instanceComponent
from
'
./deploy_board_instance_component.vue
'
;
import
loadingIcon
from
'
../../vue_shared/components/loading_icon.vue
'
;
import
loadingIcon
from
'
../../vue_shared/components/loading_icon.vue
'
;
...
@@ -40,7 +41,7 @@
...
@@ -40,7 +41,7 @@
return
!
this
.
isLoading
&&
this
.
isEmpty
;
return
!
this
.
isLoading
&&
this
.
isEmpty
;
},
},
instanceTitle
()
{
instanceTitle
()
{
return
gl
.
text
.
pluralize
(
'
Instance
'
,
this
.
deployBoardData
.
instances
);
return
n__
(
'
Instance
'
,
'
Instances
'
,
this
.
deployBoardData
.
instances
);
},
},
projectName
()
{
projectName
()
{
return
'
<projectname>
'
;
return
'
<projectname>
'
;
...
...
app/assets/javascripts/environments/stores/environments_store.js
View file @
af2a8cd2
...
@@ -69,8 +69,8 @@ export default class EnvironmentsStore {
...
@@ -69,8 +69,8 @@ export default class EnvironmentsStore {
filtered
=
Object
.
assign
({},
filtered
,
{
filtered
=
Object
.
assign
({},
filtered
,
{
hasDeployBoard
:
true
,
hasDeployBoard
:
true
,
isDeployBoardVisible
:
oldEnvironmentState
.
isDeployBoardVisible
===
false
?
isDeployBoardVisible
:
oldEnvironmentState
.
isDeployBoardVisible
===
false
?
oldEnvironmentState
.
isDeployBoardVisible
:
oldEnvironmentState
.
isDeployBoardVisible
:
true
,
true
,
deployBoardData
:
filtered
.
rollout_status
.
status
===
'
found
'
?
filtered
.
rollout_status
:
{},
deployBoardData
:
filtered
.
rollout_status
.
status
===
'
found
'
?
filtered
.
rollout_status
:
{},
isLoadingDeployBoard
:
filtered
.
rollout_status
.
status
===
'
loading
'
,
isLoadingDeployBoard
:
filtered
.
rollout_status
.
status
===
'
loading
'
,
isEmptyDeployBoard
:
filtered
.
rollout_status
.
status
===
'
not_found
'
,
isEmptyDeployBoard
:
filtered
.
rollout_status
.
status
===
'
not_found
'
,
...
...
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