Commit f6c0c96b authored by Annabel Dunstone's avatar Annabel Dunstone

Add gravatars to build history

parent 0a15ad31
......@@ -8,6 +8,7 @@
%td
- if deployment.deployable
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable] do
= user_avatar(user: deployment.user, size: 20)
= "#{deployment.deployable.name} (##{deployment.deployable.id})"
%td
......
......@@ -7,7 +7,7 @@
%td
- if last_deployment
= user_avatar(user: last_deployment.user, size: 20)
%span ##{last_deployment.id}
%strong ##{last_deployment.id}
%td
- if last_deployment
......
......@@ -26,8 +26,8 @@
%table.table.builds.environments
%tbody
%th Environment
%th Deployment ID
%th Last deployment
%th Last Deployment
%th Commit
%th
%th
= render @environments
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment