Get rid of modularity gem, Styled 'nothing here' message

This commit is contained in:
Dmitriy Zaporozhets 2012-06-11 08:52:44 +03:00
parent 4a14db9391
commit a6dad85d2f
11 changed files with 41 additions and 31 deletions

View file

@ -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

View file

@ -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

View file

@ -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"

View file

@ -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.

View file

@ -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