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
5e1c986b
Commit
5e1c986b
authored
Oct 05, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds Build column to environments list
parent
2f01392d
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
app/assets/stylesheets/pages/environments.scss
app/assets/stylesheets/pages/environments.scss
+1
-0
app/views/projects/environments/_environment.html.haml
app/views/projects/environments/_environment.html.haml
+5
-0
app/views/projects/environments/index.html.haml
app/views/projects/environments/index.html.haml
+1
-0
No files found.
app/assets/stylesheets/pages/environments.scss
View file @
5e1c986b
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
}
}
}
}
.build-link
,
.branch-name
{
.branch-name
{
color
:
$gl-dark-link-color
;
color
:
$gl-dark-link-color
;
}
}
...
...
app/views/projects/environments/_environment.html.haml
View file @
5e1c986b
...
@@ -9,6 +9,11 @@
...
@@ -9,6 +9,11 @@
%span
##{last_deployment.iid} by
%span
##{last_deployment.iid} by
=
user_avatar
(
user:
last_deployment
.
user
,
size:
20
)
=
user_avatar
(
user:
last_deployment
.
user
,
size:
20
)
%td
-
if
last_deployment
&&
last_deployment
.
deployable
=
link_to
[
@project
.
namespace
.
becomes
(
Namespace
),
@project
,
last_deployment
.
deployable
],
class:
'build-link'
do
=
"
#{
last_deployment
.
deployable
.
name
}
(#
#{
last_deployment
.
deployable
.
id
}
)"
%td
%td
-
if
last_deployment
-
if
last_deployment
=
render
'projects/deployments/commit'
,
deployment:
last_deployment
=
render
'projects/deployments/commit'
,
deployment:
last_deployment
...
...
app/views/projects/environments/index.html.haml
View file @
5e1c986b
...
@@ -27,6 +27,7 @@
...
@@ -27,6 +27,7 @@
%tbody
%tbody
%th
Environment
%th
Environment
%th
Last Deployment
%th
Last Deployment
%th
Build
%th
Commit
%th
Commit
%th
%th
%th
%th
...
...
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