Fix bug getting started message when navigate to personal projects w/o them exist
This commit is contained in:
parent
87e0429fb1
commit
7f6bbf06f8
6 changed files with 48 additions and 43 deletions
12
app/views/dashboard/_zero_authorized_projects.html.haml
Normal file
12
app/views/dashboard/_zero_authorized_projects.html.haml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue