From 374722030fb5380cb92bc5471a0cce41e2df8e04 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 15 Jul 2013 15:11:34 +0300 Subject: [PATCH] Remove unecessary titles in admin area --- app/views/admin/projects/index.html.haml | 8 ++------ app/views/admin/users/index.html.haml | 7 ++----- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/app/views/admin/projects/index.html.haml b/app/views/admin/projects/index.html.haml index f8800612b87..d641d366ca7 100644 --- a/app/views/admin/projects/index.html.haml +++ b/app/views/admin/projects/index.html.haml @@ -1,9 +1,3 @@ -%h3.page-title - Projects - = link_to 'New Project', new_project_path, class: "btn btn-small pull-right" - -%hr - .row .span4 .admin-filter @@ -43,6 +37,8 @@ .ui-box .title Projects (#{@projects.total_count}) + .pull-right + = link_to 'New Project', new_project_path, class: "btn btn-small btn-primary wide" %ul.well-list - @projects.each do |project| %li diff --git a/app/views/admin/users/index.html.haml b/app/views/admin/users/index.html.haml index a285eff138d..c2dfcb5e6fa 100644 --- a/app/views/admin/users/index.html.haml +++ b/app/views/admin/users/index.html.haml @@ -1,8 +1,3 @@ -%h3.page-title - Users - = link_to 'New User', new_admin_user_path, class: "btn btn-small pull-right" -%br - .row .span3 .admin-filter @@ -34,6 +29,8 @@ .ui-box .title Users (#{@users.total_count}) + .pull-right + = link_to 'New User', new_admin_user_path, class: "btn btn-small wide btn-primary" %ul.well-list - @users.each do |user| %li