summaryrefslogtreecommitdiff
path: root/app/views/projects/environments/index.html.haml
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2016-10-25 10:08:01 +0100
committerFilipa Lacerda <filipa@gitlab.com>2016-11-16 11:57:58 +0000
commit32c727cb9b8f0d8dc6de349482d49f81d8067656 (patch)
treee8c259aa3ce58d4f4b701e38d684b128de4d1307 /app/views/projects/environments/index.html.haml
parent98a0f72dd3717c0177271583a19973ce463b5191 (diff)
downloadgitlab-ce-32c727cb9b8f0d8dc6de349482d49f81d8067656.tar.gz
Fix typo
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 7cec3fa281c..3538777d11c 100644
--- a/app/views/projects/environments/index.html.haml
+++ b/app/views/projects/environments/index.html.haml
@@ -12,7 +12,7 @@
= link_to project_environments_path(@project) do
Available
%span.badge.js-available-environments-count
- {{counAvailable}}
+ {{countAvailable}}
%li{class: ('active' if @scope == 'stopped')}
= link_to project_environments_path(@project, scope: :stopped) do
@@ -41,7 +41,7 @@
= link_to new_namespace_project_environment_path(@project.namespace, @project), class: 'btn btn-create' do
New environment
- .table-holder{ "v-if" => "!loading && state.environments" }
+ .table-holder{ "v-if" => "!loading && state.environments.length" }
%table.table.ci-table.environments
%thead
%th Environment