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
b31c9f53
Commit
b31c9f53
authored
Oct 20, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit column
parent
c28df601
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/controllers/projects/environments_controller.rb
app/controllers/projects/environments_controller.rb
+1
-1
app/views/projects/environments/components/_environment.html.haml
...s/projects/environments/components/_environment.html.haml
+3
-3
No files found.
app/controllers/projects/environments_controller.rb
View file @
b31c9f53
...
...
@@ -76,7 +76,7 @@ class Projects::EnvironmentsController < Projects::ApplicationController
last_deployment:
{
include:
{
user:
{
only:
[
:id
,
:name
,
:username
],
methods:
[
:avatar_url
]
},
deployable:
{
only:
[
:id
,
:name
]
}
deployable:
{
only:
[
:id
,
:name
,
:ref
,
:tag
,
:short_sha
]
}
}
}
}
...
...
app/views/projects/environments/components/_environment.html.haml
View file @
b31c9f53
...
...
@@ -21,7 +21,7 @@
%span
{
"v-if"
=>
"model.last_deployment.user"
}
by
%a
{
":href"
=>
"'/' + model.last_deployment.user.username"
}
%img
.avatar.has-tooltip.s20
{
":src"
=>
"model.last_deployment.user.avatar_url"
,
":alt"
=>
"model.last_deployment.user.username + ' avatar'"
,
":title"
=>
"model.last_deployment.user.username"
,
...
...
@@ -35,7 +35,7 @@
%td
%a
{
"v-if"
=>
"!isFolder && model.last_deployment"
}
/
= render "projects/deployments/commit", deployment: "{{model.last_deployment}}"
-#
= render "projects/deployments/commit", deployment: "{{model.last_deployment}}"
%p
.commit-title
{
"v-if"
=>
"!isFolder && !model.last_deployment"
}
No deployments yet
...
...
@@ -80,7 +80,7 @@
%td
%a
{
"v-if"
=>
"child.last_deployment"
}
/
= render "projects/deployments/commit", deployment: "{{child.last_deployment}}"
-#
= render "projects/deployments/commit", deployment: "{{child.last_deployment}}"
%p
.commit-title
{
"v-if"
=>
"!child.last_deployment"
}
No deployments yet
...
...
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