summaryrefslogtreecommitdiff
path: root/app/views/projects/deployments/_commit.html.haml
diff options
context:
space:
mode:
authorAnnabel Dunstone <annabel.dunstone@gmail.com>2016-08-08 11:39:24 -0500
committerAnnabel Dunstone <annabel.dunstone@gmail.com>2016-08-08 11:39:24 -0500
commit0a15ad31ad4bafe0a87cb0c4fd345a5f82c44799 (patch)
treeab115feb8dd37ae98d4fc7f2d528597a8b243b90 /app/views/projects/deployments/_commit.html.haml
parent60a347228d90ce68eedb5bf4b75a4cad94a1dfb2 (diff)
downloadgitlab-ce-0a15ad31ad4bafe0a87cb0c4fd345a5f82c44799.tar.gz
Add deployment ID and gravatar to environments page
Diffstat (limited to 'app/views/projects/deployments/_commit.html.haml')
-rw-r--r--app/views/projects/deployments/_commit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/deployments/_commit.html.haml b/app/views/projects/deployments/_commit.html.haml
index a90c8733862..28813babd7b 100644
--- a/app/views/projects/deployments/_commit.html.haml
+++ b/app/views/projects/deployments/_commit.html.haml
@@ -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