Commit f6c0c96b authored by Annabel Dunstone's avatar Annabel Dunstone

Add gravatars to build history

parent 0a15ad31
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
%td %td
- if deployment.deployable - if deployment.deployable
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable] do = link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable] do
= user_avatar(user: deployment.user, size: 20)
= "#{deployment.deployable.name} (##{deployment.deployable.id})" = "#{deployment.deployable.name} (##{deployment.deployable.id})"
%td %td
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
%td %td
- if last_deployment - if last_deployment
= user_avatar(user: last_deployment.user, size: 20) = user_avatar(user: last_deployment.user, size: 20)
%span ##{last_deployment.id} %strong ##{last_deployment.id}
%td %td
- if last_deployment - if last_deployment
......
...@@ -26,8 +26,8 @@ ...@@ -26,8 +26,8 @@
%table.table.builds.environments %table.table.builds.environments
%tbody %tbody
%th Environment %th Environment
%th Deployment ID %th Last Deployment
%th Last deployment %th Commit
%th %th
%th %th
= render @environments = 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