Commit a8b32b1e authored by Robert Speicher's avatar Robert Speicher

Merge branch 'patch-1' into 'master'

number_with_delimiter() added

See merge request !2886
parents ea4d2741 9242b9e5
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
%br %br
- if current_user.can_create_project? - if current_user.can_create_project?
You can create up to You can create up to
%strong= pluralize(current_user.projects_limit, "project") + "." %strong= pluralize(number_with_delimiter(current_user.projects_limit), "project") + "."
- else - else
If you are added to a project, it will be displayed here. If you are added to a project, it will be displayed here.
...@@ -44,7 +44,7 @@ ...@@ -44,7 +44,7 @@
.dashboard-intro-text .dashboard-intro-text
%p.slead %p.slead
There are There are
%strong= publicish_project_count %strong= number_with_delimiter(publicish_project_count)
public projects on this server. public projects on this server.
%br %br
Public projects are an easy way to allow everyone to have read-only access. 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