get rid of sidebar
This commit is contained in:
parent
62707bb730
commit
d6b051c5be
12 changed files with 28 additions and 121 deletions
|
@ -1,8 +0,0 @@
|
|||
%aside.project-right
|
||||
- if content_for? :sidebar_all
|
||||
= render :sidebar_all
|
||||
- else
|
||||
- if content_for? :sidebar_top_block
|
||||
= yield :sidebar_top_block
|
||||
= render "widgets/project_member"
|
||||
= render "widgets/recent_projects"
|
|
@ -1,21 +0,0 @@
|
|||
%aside.projects
|
||||
- if current_user.can_create_project?
|
||||
.widget
|
||||
You can create up to
|
||||
= current_user.projects_limit
|
||||
projects. Click on link below to add a new one
|
||||
.link_holder
|
||||
= link_to new_project_path, :class => "" do
|
||||
New Project »
|
||||
|
||||
- if current_user.is_admin?
|
||||
.widget
|
||||
You have administrator privilegies. You can configure application following this button:
|
||||
.link_holder
|
||||
= link_to admin_root_path, :class => "", :title => "Admin" do
|
||||
Visit Admin Area »
|
||||
|
||||
- if current_user.projects.count > 0
|
||||
= render "widgets/recent_projects"
|
||||
|
||||
|
|
@ -13,6 +13,4 @@
|
|||
= link_to keys_path, :class => controller.controller_name == "keys" ? "current" : nil do
|
||||
SSH Keys
|
||||
.content
|
||||
.row
|
||||
.span12= yield
|
||||
.sidebar= render "layouts/projects_side"
|
||||
= yield
|
||||
|
|
|
@ -7,10 +7,5 @@
|
|||
.container
|
||||
= render :partial => "layouts/project_menu"
|
||||
.content
|
||||
- if @full_content
|
||||
= yield
|
||||
- else
|
||||
.row
|
||||
.span12= yield
|
||||
.sidebar= render "layouts/project_side_right"
|
||||
= yield
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue