summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-05 11:14:55 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-10-05 11:14:55 +0100
commitb189a34bf3ee9eb631ff6c56154638215725fbc7 (patch)
tree7890f72215b32833c74fdd5b23128b2739fc193f
parent4dc61dc7128608ce5eca4b0911d7174a1ab2aea4 (diff)
downloadgitlab-ce-b189a34bf3ee9eb631ff6c56154638215725fbc7.tar.gz
Updates Last Deployment column in environmnets list.
Fixes deployment id to show the internal one
-rw-r--r--app/views/projects/environments/_environment.html.haml2
-rw-r--r--app/views/projects/environments/index.html.haml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/environments/_environment.html.haml b/app/views/projects/environments/_environment.html.haml
index 36a6162a5a8..73a88dc38ba 100644
--- a/app/views/projects/environments/_environment.html.haml
+++ b/app/views/projects/environments/_environment.html.haml
@@ -7,7 +7,7 @@
%td
- if last_deployment
= user_avatar(user: last_deployment.user, size: 20)
- %strong ##{last_deployment.id}
+ %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 b3eb5b0011a..8da9221e08a 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
+ %th Last Deployment ID
%th Commit
%th
%th