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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
c02a4f38
Commit
c02a4f38
authored
Oct 19, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds all first row columns
parent
2a40dec1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
21 deletions
+27
-21
app/views/projects/environments/components/_environment.html.haml
...s/projects/environments/components/_environment.html.haml
+27
-21
No files found.
app/views/projects/environments/components/_environment.html.haml
View file @
c02a4f38
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
%i
{
"v-show"
=>
"!open"
}
%i
{
"v-show"
=>
"!open"
}
=
icon
(
"caret-right"
)
=
icon
(
"caret-right"
)
{{model.name}}
%td
.deployment-column
%td
.deployment-column
%span
{
"v-if"
=>
"!isFolder && model.last_deployment && model.last_deployment.iid"
}
%span
{
"v-if"
=>
"!isFolder && model.last_deployment && model.last_deployment.iid"
}
...
@@ -23,25 +23,25 @@
...
@@ -23,25 +23,25 @@
{{model.last_deployment.user.name}}
{{model.last_deployment.user.name}}
%td
%td
%a
{
"v-if"
=>
"!isFolder"
}
%a
{
"v-if"
=>
"!isFolder && model.last_deployment && model.last_deployment.deployable"
,
column 3
":class"
=>
"build-link"
,
":href"
=>
""
}
{{model.last_deployment.deployable.name}} (## {{model.last_deployment.deployable.id}})
%td
%td
%a
{
"v-if"
=>
"!isFolder"
}
%a
{
"v-if"
=>
"!isFolder && model.last_deployment"
}
column 3
column 4
%p
.commit-title
{
"v-if"
=>
"!isFolder && !model.last_deployment"
}
No deployments yet
%td
%td
%span
{
"v-if"
=>
"!isFolder && model.last_deployment"
}
%span
{
"v-if"
=>
"!isFolder && model.last_deployment"
}
{{last_deployment.created_at}}
{{
model.
last_deployment.created_at}}
%td
.hidden-xs
%td
.hidden-xs
.pull-right
.pull-right
{
"v-if"
=>
"!isFolder"
}
actions
actions
-# = render 'projects/environments/external_url', environment: "model"
-# = render 'projects/deployments/actions', deployment: "model.last_deployment"
-# = render 'projects/environments/stop', environment: "model"
-# = render 'projects/deployments/rollback', deployment: "model.last_deployment"
%tr
.environment-children
{
"v-show"
=>
"open"
,
%tr
.environment-children
{
"v-show"
=>
"open"
,
"v-if"
=>
"isFolder"
,
"v-if"
=>
"isFolder"
,
"v-for"
=>
"child in model.children"
,
"v-for"
=>
"child in model.children"
,
...
@@ -54,21 +54,27 @@
...
@@ -54,21 +54,27 @@
%td
.deployment-column
%td
.deployment-column
%span
{
"v-if"
=>
"child.last_deployment && child.last_deployment.iid"
}
%span
{
"v-if"
=>
"child.last_deployment && child.last_deployment.iid"
}
{{child.last_deployment.iid}}
{{child.last_deployment.iid}}
%span
{
"v-if"
=>
"child.last_deployment && child.last_deployment.user"
}
{{child.last_deployment.user}}
by
/= user_avatar(user: "child.last_deployment.user", size: 20)
%span
{
"v-if"
=>
"model.last_deployment.user"
}
{{child.last_deployment.user.name}}
%td
%td
%a
.build-link
{
"v-if"
=>
"child.last_deployment && child.last_deployment.deployable"
,
%a
{
"v-if"
=>
" child.last_deployment && child.last_deployment.deployable"
,
":class"
=>
"build-link"
,
":href"
=>
""
}
":href"
=>
""
}
{{
child.last_deployment}}
{{
model.last_deployment.deployable.name}} (## {{model.last_deployment.deployable.id}})
%td
%td
column 4
%a
{
"v-if"
=>
"child.last_deployment"
}
column 4
%p
.commit-title
{
"v-if"
=>
"!child.last_deployment"
}
No deployments yet
%td
%td
column 5
%span
{
"v-if"
=>
"child.last_deployment"
}
{{child.last_deployment.created_at}}
%td
.hidden-xs
%td
.hidden-xs
.pull-right
.pull-right
{
"v-if"
=>
"!isFolder"
}
actions
actions
\ No newline at end of file
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