From 8e53dcbfd19be4d027a7da0872327577438e2989 Mon Sep 17 00:00:00 2001 From: kushalpandya Date: Thu, 6 Jul 2017 14:42:04 +0530 Subject: Rename variable to `public_project_count` --- app/views/dashboard/projects/_blank_state_welcome.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/dashboard/projects/_blank_state_welcome.html.haml b/app/views/dashboard/projects/_blank_state_welcome.html.haml index 5c2d3732a77..ab5763d0ee1 100644 --- a/app/views/dashboard/projects/_blank_state_welcome.html.haml +++ b/app/views/dashboard/projects/_blank_state_welcome.html.haml @@ -1,4 +1,4 @@ -- publicish_project_count = ProjectsFinder.new(current_user: current_user).execute.count +- public_project_count = ProjectsFinder.new(current_user: current_user).execute.count - if current_user.can_create_group? .blank-state.clearfix @@ -31,7 +31,7 @@ = link_to new_project_path, class: "btn btn-new" do New project -- if publicish_project_count > 0 +- if public_project_count > 0 .blank-state.clearfix .col-md-1.col-md-offset-3.blank-state-icon = custom_icon("globe", size: 50) @@ -40,7 +40,7 @@ Explore public projects %p.blank-state-text There are - = number_with_delimiter(publicish_project_count) + = number_with_delimiter(public_project_count) public projects on this server. Public projects are an easy way to allow everyone to have read-only access. -- cgit v1.2.1