summaryrefslogtreecommitdiff
path: root/app/views/projects/environments
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-05 11:40:44 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-10-05 11:40:44 +0100
commit2f01392d227810160ab037231c00da01a9efe62d (patch)
tree581cdb14202a75a4e1e8e06becc83f9e339100e8 /app/views/projects/environments
parentb189a34bf3ee9eb631ff6c56154638215725fbc7 (diff)
downloadgitlab-ce-2f01392d227810160ab037231c00da01a9efe62d.tar.gz
Updates Last Deployment column in environmnets list according to design
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r--app/views/projects/environments/_environment.html.haml4
-rw-r--r--app/views/projects/environments/index.html.haml2
2 files changed, 3 insertions, 3 deletions
diff --git a/app/views/projects/environments/_environment.html.haml b/app/views/projects/environments/_environment.html.haml
index 73a88dc38ba..915e7fa4514 100644
--- a/app/views/projects/environments/_environment.html.haml
+++ b/app/views/projects/environments/_environment.html.haml
@@ -4,10 +4,10 @@
%td
= link_to environment.name, namespace_project_environment_path(@project.namespace, @project, environment)
- %td
+ %td.deployment-column
- if last_deployment
+ %span ##{last_deployment.iid} by
= user_avatar(user: last_deployment.user, size: 20)
- %span ##{last_deployment.iid}
%td
- if last_deployment
diff --git a/app/views/projects/environments/index.html.haml b/app/views/projects/environments/index.html.haml
index 8da9221e08a..b3eb5b0011a 100644
--- a/app/views/projects/environments/index.html.haml
+++ b/app/views/projects/environments/index.html.haml
@@ -26,7 +26,7 @@
%table.table.builds.environments
%tbody
%th Environment
- %th Last Deployment ID
+ %th Last Deployment
%th Commit
%th
%th