Fix bug getting started message when navigate to personal projects w/o them exist

This commit is contained in:
Dmitriy Zaporozhets 2012-12-04 11:18:13 +02:00
parent 87e0429fb1
commit 7f6bbf06f8
6 changed files with 48 additions and 43 deletions

View file

@ -0,0 +1,12 @@
%h3.nothing_here_message
There are no projects you have access to.
%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
.link_holder
= link_to new_project_path, class: "btn primary" do
New Project »
- else
If you will be added to project - it will be displayed here