Commit 374722030fb5380cb92bc5471a0cce41e2df8e04
1 parent
16c39259
Exists in
master
and in
4 other branches
Remove unecessary titles in admin area
Showing
2 changed files
with
4 additions
and
11 deletions
Show diff stats
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 | 1 | .row |
8 | 2 | .span4 |
9 | 3 | .admin-filter |
... | ... | @@ -43,6 +37,8 @@ |
43 | 37 | .ui-box |
44 | 38 | .title |
45 | 39 | Projects (#{@projects.total_count}) |
40 | + .pull-right | |
41 | + = link_to 'New Project', new_project_path, class: "btn btn-small btn-primary wide" | |
46 | 42 | %ul.well-list |
47 | 43 | - @projects.each do |project| |
48 | 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 | 1 | .row |
7 | 2 | .span3 |
8 | 3 | .admin-filter |
... | ... | @@ -34,6 +29,8 @@ |
34 | 29 | .ui-box |
35 | 30 | .title |
36 | 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 | 34 | %ul.well-list |
38 | 35 | - @users.each do |user| |
39 | 36 | %li | ... | ... |