diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2016-10-06 13:37:13 +0300 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2016-10-06 13:37:13 +0300 |
commit | 8de767c40cd94da47673e264f3dbb4d0243d85c4 (patch) | |
tree | 403661ddad70d51194e66089f02fdd7760503ce0 /app | |
parent | 28f85cefde05abd2fde7938a892c2487172312df (diff) |
Verifies if user is available
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/environments/_environment.html.haml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/app/views/projects/environments/_environment.html.haml b/app/views/projects/environments/_environment.html.haml index d35e619678c..53df563d9cf 100644 --- a/app/views/projects/environments/_environment.html.haml +++ b/app/views/projects/environments/_environment.html.haml @@ -6,8 +6,10 @@ %td.deployment-column - if last_deployment - %span ##{last_deployment.iid} by - = user_avatar(user: last_deployment.user, size: 20) + %span ##{last_deployment.iid} + - if last_deployment.user + by + = user_avatar(user: last_deployment.user, size: 20) %td - if last_deployment && last_deployment.deployable |