summaryrefslogtreecommitdiff
path: root/app/views/projects/environments
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-04 21:41:36 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2016-10-06 13:16:14 +0200
commit34a980851ebdaeff1734c2adb031253fdfe7b46f (patch)
tree3f57cd9ec9ba743a34be7c5dd522dde855cd4190 /app/views/projects/environments
parented975fdcd4bb2ecb47753e2e1c017175c211adbe (diff)
downloadgitlab-ce-34a980851ebdaeff1734c2adb031253fdfe7b46f.tar.gz
Adds close button to builds list
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r--app/views/projects/environments/_environment.html.haml3
-rw-r--r--app/views/projects/environments/index.html.haml2
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/environments/_environment.html.haml b/app/views/projects/environments/_environment.html.haml
index 27b7254fcfb..2e9c395f08a 100644
--- a/app/views/projects/environments/_environment.html.haml
+++ b/app/views/projects/environments/_environment.html.haml
@@ -1,5 +1,4 @@
- last_deployment = environment.last_deployment
-- can_be_stopped = true
%tr.environment
%td
@@ -22,4 +21,4 @@
#{time_ago_with_tooltip(last_deployment.created_at)}
%td.hidden-xs
- = render 'projects/deployments/actions', deployment: last_deployment, can_be_stopped: can_be_stopped
+ = render 'projects/deployments/actions', deployment: last_deployment
diff --git a/app/views/projects/environments/index.html.haml b/app/views/projects/environments/index.html.haml
index 393f9e0d57b..949f0855777 100644
--- a/app/views/projects/environments/index.html.haml
+++ b/app/views/projects/environments/index.html.haml
@@ -42,5 +42,5 @@
%th Last Deployment
%th Commit
%th
- %th
+ %th.hidden-xs
= render @environments