summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkushalpandya <kushal@gitlab.com>2017-07-06 14:42:04 +0530
committerkushalpandya <kushal@gitlab.com>2017-07-06 14:42:04 +0530
commit8e53dcbfd19be4d027a7da0872327577438e2989 (patch)
tree20dd3df8e1e15ab3a827c00682dac337b0df508e
parentb7dcd1a0910e316dabd3d9675cf9d861b77a911e (diff)
downloadgitlab-ce-8e53dcbfd19be4d027a7da0872327577438e2989.tar.gz
Rename variable to `public_project_count`
-rw-r--r--app/views/dashboard/projects/_blank_state_welcome.html.haml6
1 files 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.