summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <robert@gitlab.com>2016-02-19 04:04:14 +0000
committerRobert Speicher <robert@gitlab.com>2016-02-19 04:04:14 +0000
commita8b32b1e604cd59474b84be9681104579447651d (patch)
treee6e5d4fbfd9d7c1599f761f15623e92f45d46d01
parentea4d2741a2b574407b0bd387ccd6a8202c014fc5 (diff)
parent9242b9e561f6d1a808884c626b6391f0300ce53f (diff)
downloadgitlab-ce-a8b32b1e604cd59474b84be9681104579447651d.tar.gz
Merge branch 'patch-1' into 'master'
number_with_delimiter() added See merge request !2886
-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.