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
0a15ad31
Commit
0a15ad31
authored
Aug 08, 2016
by
Annabel Dunstone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add deployment ID and gravatar to environments page
parent
60a34722
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
_commit.html.haml
app/views/projects/deployments/_commit.html.haml
+1
-1
_environment.html.haml
app/views/projects/environments/_environment.html.haml
+6
-3
index.html.haml
app/views/projects/environments/index.html.haml
+1
-0
No files found.
app/views/projects/deployments/_commit.html.haml
View file @
0a15ad31
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
%p
.commit-title
%p
.commit-title
%span
%span
-
if
commit_title
=
deployment
.
commit_title
-
if
commit_title
=
deployment
.
commit_title
=
user_avatar
(
user:
deployment
.
user
,
size:
20
)
=
author_avatar
(
deployment
.
commit
,
size:
20
)
=
link_to_gfm
commit_title
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
deployment
.
sha
),
class:
"commit-row-message"
=
link_to_gfm
commit_title
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
deployment
.
sha
),
class:
"commit-row-message"
-
else
-
else
Cant find HEAD commit for this branch
Cant find HEAD commit for this branch
app/views/projects/environments/_environment.html.haml
View file @
0a15ad31
...
@@ -6,6 +6,11 @@
...
@@ -6,6 +6,11 @@
%td
%td
-
if
last_deployment
-
if
last_deployment
=
user_avatar
(
user:
last_deployment
.
user
,
size:
20
)
%span
##{last_deployment.id}
%td
-
if
last_deployment
=
render
'projects/deployments/commit'
,
deployment:
last_deployment
=
render
'projects/deployments/commit'
,
deployment:
last_deployment
-
else
-
else
%p
.commit-title
%p
.commit-title
...
@@ -13,9 +18,7 @@
...
@@ -13,9 +18,7 @@
%td
%td
-
if
last_deployment
-
if
last_deployment
%p
.finished-at
#{
time_ago_with_tooltip
(
last_deployment
.
created_at
)
}
=
icon
(
"calendar"
)
#{
time_ago_with_tooltip
(
last_deployment
.
created_at
,
short_format:
true
,
skip_js:
true
)
}
%td
%td
=
render
'projects/deployments/actions'
,
deployment:
last_deployment
=
render
'projects/deployments/actions'
,
deployment:
last_deployment
app/views/projects/environments/index.html.haml
View file @
0a15ad31
...
@@ -26,6 +26,7 @@
...
@@ -26,6 +26,7 @@
%table
.table.builds.environments
%table
.table.builds.environments
%tbody
%tbody
%th
Environment
%th
Environment
%th
Deployment ID
%th
Last deployment
%th
Last deployment
%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