From bae85fa876c89bcde79011f2a70a7a0747b09efd Mon Sep 17 00:00:00 2001 From: Henry Smith Date: Thu, 15 Aug 2013 18:50:17 +0100 Subject: [PATCH] Wording improvements in the zero_authorized_projects template --- app/views/dashboard/_zero_authorized_projects.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/dashboard/_zero_authorized_projects.html.haml b/app/views/dashboard/_zero_authorized_projects.html.haml index 4b0d0d6..ea5d8d6 100644 --- a/app/views/dashboard/_zero_authorized_projects.html.haml +++ b/app/views/dashboard/_zero_authorized_projects.html.haml @@ -1,12 +1,12 @@ %h3.nothing_here_message - There are no projects you have access to. + You don't have access to any projects. %br - if current_user.can_create_project? You can create up to - = current_user.projects_limit - projects. Click on button below to add a new one + = pluralize(current_user.projects_limit, "project") + "." + Click on the button below to add a new one .link_holder = link_to new_project_path, class: "btn btn-primary" do New Project ยป - else - If you will be added to project - it will be displayed here + If you are added to a project, it will be displayed here -- libgit2 0.21.2