summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/index.html.haml
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-10-06 14:16:03 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2016-10-06 14:16:03 +0200
commit0e1f39d8cee3a6d23fccb195f8257178df840805 (patch)
tree6e84589c4c567e69680718b911b075c53d188687 /app/views/projects/environments/index.html.haml
parentc319cc5ab5064459aaf803ee719a08e9663726ea (diff)
downloadgitlab-ce-0e1f39d8cee3a6d23fccb195f8257178df840805.tar.gz
Allow to close environments
Diffstat (limited to 'app/views/projects/environments/index.html.haml')
-rw-r--r--app/views/projects/environments/index.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/environments/index.html.haml b/app/views/projects/environments/index.html.haml
index 702cccd6ab3..11e2ff506b4 100644
--- a/app/views/projects/environments/index.html.haml
+++ b/app/views/projects/environments/index.html.haml
@@ -7,12 +7,12 @@
%ul.nav-links
%li{class: ('active' if @scope.nil?)}
= link_to project_environments_path(@project) do
- Availabe
+ Available
%span.badge.js-avaibale-environments-count
= number_with_delimiter(@all_environments.opened.count)
%li{class: ('active' if @scope == 'closed')}
- = link_to project_environments_path(@project, scope: :stopped) do
+ = link_to project_environments_path(@project, scope: :closed) do
Stopped
%span.badge.js-stopped-environments-count
= number_with_delimiter(@all_environments.closed.count)