Commit c8c9ccbd authored by Filipa Lacerda's avatar Filipa Lacerda

Adds verification beore showing user avatar

parent 34efdef1
......@@ -9,8 +9,9 @@
- if deployment.deployable
= link_to [@project.namespace.becomes(Namespace), @project, deployment.deployable], class: 'build-link' do
= "#{deployment.deployable.name} (##{deployment.deployable.id})"
by
= user_avatar(user: deployment.user, size: 20)
- if deployment.user
by
= user_avatar(user: deployment.user, size: 20)
%td
#{time_ago_with_tooltip(deployment.created_at)}
......
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