diff options
author | heiko <heikobornholdt@me.com> | 2016-02-19 03:52:18 +0300 |
---|---|---|
committer | heiko <heikobornholdt@me.com> | 2016-02-19 03:52:18 +0300 |
commit | 9242b9e561f6d1a808884c626b6391f0300ce53f (patch) | |
tree | e6e5d4fbfd9d7c1599f761f15623e92f45d46d01 /app/views | |
parent | ea4d2741a2b574407b0bd387ccd6a8202c014fc5 (diff) |
number_with_delimiter() added
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/dashboard/projects/_zero_authorized_projects.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/dashboard/projects/_zero_authorized_projects.html.haml b/app/views/dashboard/projects/_zero_authorized_projects.html.haml index 4e7d6639727..c3efa7727b1 100644 --- a/app/views/dashboard/projects/_zero_authorized_projects.html.haml +++ b/app/views/dashboard/projects/_zero_authorized_projects.html.haml @@ -11,7 +11,7 @@ %br - if current_user.can_create_project? You can create up to - %strong= pluralize(current_user.projects_limit, "project") + "." + %strong= pluralize(number_with_delimiter(current_user.projects_limit), "project") + "." - else If you are added to a project, it will be displayed here. @@ -44,7 +44,7 @@ .dashboard-intro-text %p.slead There are - %strong= publicish_project_count + %strong= number_with_delimiter(publicish_project_count) public projects on this server. %br Public projects are an easy way to allow everyone to have read-only access. |