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
Tatuya Kamada
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
app/views/projects/deployments/_commit.html.haml
app/views/projects/deployments/_commit.html.haml
+1
-1
app/views/projects/environments/_environment.html.haml
app/views/projects/environments/_environment.html.haml
+6
-3
app/views/projects/environments/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 @@
%p
.commit-title
%span
-
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"
-
else
Cant find HEAD commit for this branch
app/views/projects/environments/_environment.html.haml
View file @
0a15ad31
...
...
@@ -4,6 +4,11 @@
%td
=
link_to
environment
.
name
,
namespace_project_environment_path
(
@project
.
namespace
,
@project
,
environment
)
%td
-
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
...
...
@@ -13,9 +18,7 @@
%td
-
if
last_deployment
%p
.finished-at
=
icon
(
"calendar"
)
#{
time_ago_with_tooltip
(
last_deployment
.
created_at
,
short_format:
true
,
skip_js:
true
)
}
#{
time_ago_with_tooltip
(
last_deployment
.
created_at
)
}
%td
=
render
'projects/deployments/actions'
,
deployment:
last_deployment
app/views/projects/environments/index.html.haml
View file @
0a15ad31
...
...
@@ -26,6 +26,7 @@
%table
.table.builds.environments
%tbody
%th
Environment
%th
Deployment ID
%th
Last deployment
%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