Get rid of modularity gem, Styled 'nothing here' message
This commit is contained in:
parent
4a14db9391
commit
a6dad85d2f
11 changed files with 41 additions and 31 deletions
|
@ -35,15 +35,15 @@
|
|||
.bottom= paginate @projects, :theme => "gitlab"
|
||||
|
||||
- else
|
||||
%h3 Nothing here
|
||||
%h3.nothing_here_message There are no projects you have access to.
|
||||
%br
|
||||
- if current_user.can_create_project?
|
||||
.alert-message.block-message.warning
|
||||
%h4.nothing_here_message
|
||||
- if current_user.can_create_project?
|
||||
You can create up to
|
||||
= current_user.projects_limit
|
||||
projects. Click on link below to add a new one
|
||||
projects. Click on button below to add a new one
|
||||
.link_holder
|
||||
= link_to new_project_path, :class => "" do
|
||||
= link_to new_project_path, :class => "btn primary" do
|
||||
New Project »
|
||||
- else
|
||||
If you will be added to project - it will be displayed here
|
||||
- else
|
||||
If you will be added to project - it will be displayed here
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue