diff options
-rw-r--r-- | app/views/projects/deployments/_deployment.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/deployments/_deployment.html.haml b/app/views/projects/deployments/_deployment.html.haml index 2edbf7f5082..2ea3b477bb7 100644 --- a/app/views/projects/deployments/_deployment.html.haml +++ b/app/views/projects/deployments/_deployment.html.haml @@ -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)} |