summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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.