Commit 374722030fb5380cb92bc5471a0cce41e2df8e04

Authored by Dmitriy Zaporozhets
1 parent 16c39259

Remove unecessary titles in admin area

app/views/admin/projects/index.html.haml
1 -%h3.page-title  
2 - Projects  
3 - = link_to 'New Project', new_project_path, class: "btn btn-small pull-right"  
4 -  
5 -%hr  
6 -  
7 .row 1 .row
8 .span4 2 .span4
9 .admin-filter 3 .admin-filter
@@ -43,6 +37,8 @@ @@ -43,6 +37,8 @@
43 .ui-box 37 .ui-box
44 .title 38 .title
45 Projects (#{@projects.total_count}) 39 Projects (#{@projects.total_count})
  40 + .pull-right
  41 + = link_to 'New Project', new_project_path, class: "btn btn-small btn-primary wide"
46 %ul.well-list 42 %ul.well-list
47 - @projects.each do |project| 43 - @projects.each do |project|
48 %li 44 %li
app/views/admin/users/index.html.haml
1 -%h3.page-title  
2 - Users  
3 - = link_to 'New User', new_admin_user_path, class: "btn btn-small pull-right"  
4 -%br  
5 -  
6 .row 1 .row
7 .span3 2 .span3
8 .admin-filter 3 .admin-filter
@@ -34,6 +29,8 @@ @@ -34,6 +29,8 @@
34 .ui-box 29 .ui-box
35 .title 30 .title
36 Users (#{@users.total_count}) 31 Users (#{@users.total_count})
  32 + .pull-right
  33 + = link_to 'New User', new_admin_user_path, class: "btn btn-small wide btn-primary"
37 %ul.well-list 34 %ul.well-list
38 - @users.each do |user| 35 - @users.each do |user|
39 %li 36 %li