summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorheiko <heikobornholdt@me.com>2016-02-19 00:52:18 +0000
committerheiko <heikobornholdt@me.com>2016-02-19 00:52:18 +0000
commit9242b9e561f6d1a808884c626b6391f0300ce53f (patch)
treee6e5d4fbfd9d7c1599f761f15623e92f45d46d01
parentea4d2741a2b574407b0bd387ccd6a8202c014fc5 (diff)
downloadgitlab-ce-9242b9e561f6d1a808884c626b6391f0300ce53f.tar.gz
number_with_delimiter() added
-rw-r--r--app/views/dashboard/projects/_zero_authorized_projects.html.haml4
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.