Commit 8e53dcbf authored by kushalpandya's avatar kushalpandya

Rename variable to `public_project_count`

parent b7dcd1a0
- 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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment