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
|
@ -15,5 +15,4 @@
|
|||
%hr
|
||||
= paginate @issues, :theme => "gitlab"
|
||||
- else
|
||||
%h4.padded
|
||||
%center Nothing to show here
|
||||
%h3.nothing_here_message Nothing to show here
|
||||
|
|
|
@ -15,5 +15,4 @@
|
|||
= paginate @merge_requests, :theme => "gitlab"
|
||||
|
||||
- else
|
||||
%h4.padded
|
||||
%center Nothing to show here
|
||||
%h3.nothing_here_message Nothing to show here
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
|
||||
%p Application will send POST request with some data like example below:
|
||||
%h5 Hooks request example:
|
||||
.borders= render "hooks/data_ex"
|
||||
= render "hooks/data_ex"
|
||||
|
||||
|
|
|
@ -12,3 +12,8 @@
|
|||
%th
|
||||
- @keys.each do |key|
|
||||
= render(:partial => 'show', :locals => {:key => key})
|
||||
- if @keys.blank?
|
||||
%tr
|
||||
%td{:colspan => 3}
|
||||
%h3.nothing_here_message There are no SSH keys with access to your account.
|
||||
|
||||
|
|
|
@ -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