Rename variable to `public_project_count`
This commit is contained in:
parent
b7dcd1a091
commit
8e53dcbfd1
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue