BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8cc9ab50
Commit
8cc9ab50
authored
Jun 22, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '33853-environments-buttons' into 'master'
Only show gray footer space if environment actions exist Closes #33853 See merge request !12315
parents
afbb93f7
2e9a1ebb
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
environment_item.vue
.../javascripts/environments/components/environment_item.vue
+13
-2
No files found.
app/assets/javascripts/environments/components/environment_item.vue
View file @
8cc9ab50
...
@@ -403,6 +403,14 @@ export default {
...
@@ -403,6 +403,14 @@ export default {
return
''
;
return
''
;
},
},
displayEnvironmentActions
()
{
return
this
.
hasManualActions
||
this
.
externalURL
||
this
.
monitoringUrl
||
this
.
hasStopAction
||
this
.
canRetry
;
},
/**
/**
* Constructs folder URL based on the current location and the folder id.
* Constructs folder URL based on the current location and the folder id.
*
*
...
@@ -535,9 +543,12 @@ export default {
...
@@ -535,9 +543,12 @@ export default {
</span>
</span>
</div>
</div>
<div
class=
"table-section section-30 table-button-footer"
role=
"gridcell"
>
<div
<div
v-if=
"!model.isFolder"
v-if=
"!model.isFolder && displayEnvironmentActions"
class=
"table-section section-30 table-button-footer"
role=
"gridcell"
>
<div
class=
"btn-group table-action-buttons"
class=
"btn-group table-action-buttons"
role=
"group"
>
role=
"group"
>
...
...
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