Commit bae85fa876c89bcde79011f2a70a7a0747b09efd

Authored by Henry Smith
1 parent 4b91ffca

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.
app/views/dashboard/_zero_authorized_projects.html.haml
1 1 %h3.nothing_here_message
2   - There are no projects you have access to.
  2 + You don't have access to any projects.
3 3 %br
4 4 - if current_user.can_create_project?
5 5 You can create up to
6   - = current_user.projects_limit
7   - projects. Click on button below to add a new one
  6 + = pluralize(current_user.projects_limit, "project") + "."
  7 + Click on the button below to add a new one
8 8 .link_holder
9 9 = link_to new_project_path, class: "btn btn-primary" do
10 10 New Project »
11 11 - else
12   - If you will be added to project - it will be displayed here
  12 + If you are added to a project, it will be displayed here
... ...