diff options
author | Henry Smith <henry@henrysmith.org> | 2013-08-15 18:50:17 +0100 |
---|---|---|
committer | Henry Smith <henry@henrysmith.org> | 2013-08-15 18:53:10 +0100 |
commit | bae85fa876c89bcde79011f2a70a7a0747b09efd (patch) | |
tree | cbc382ec640c491f7a3df5ce5d80a0e57c8f35de | |
parent | 4b91ffca3e07bb4bebcca67430c58457441ed304 (diff) | |
download | gitlab-ce-bae85fa876c89bcde79011f2a70a7a0747b09efd.tar.gz |
Wording improvements in the zero_authorized_projects template
I've reworded the first sentence to say "You don't have access to any projects",
which I think sounds more natural.
I've also used the "pluralize" ActionView helper for the user's projects_limit,
so that it still looks good when it says "You can create up to 1 project.".
Finally, I've tweaked the structure of the final sentence a little bit to make
it sound a bit better.
-rw-r--r-- | app/views/dashboard/_zero_authorized_projects.html.haml | 8 |
1 files 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 4b0d0d6873d..ea5d8d6376f 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 |