Commit c8c9ccbd authored by Filipa Lacerda's avatar Filipa Lacerda

Adds verification beore showing user avatar

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