Commit 449edae5aba573943fa048a45d1a78cda9fb13f8

Authored by Dmitriy Zaporozhets
1 parent 61d98601

Minor UI improvements

app/views/dashboard/_groups.html.haml
... ... @@ -3,9 +3,9 @@
3 3 = search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter'
4 4 - if current_user.can_create_group?
5 5 %span.pull-right
6   - = link_to new_group_path, class: "btn" do
  6 + = link_to new_group_path, class: "btn btn-new" do
7 7 %i.icon-plus
8   - New Group
  8 + New group
9 9 %ul.well-list.dash-list
10 10 - groups.each do |group|
11 11 %li.group-row
... ...
app/views/dashboard/_projects.html.haml
... ... @@ -3,9 +3,9 @@
3 3 = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter'
4 4 - if current_user.can_create_project?
5 5 %span.pull-right
6   - = link_to new_project_path, class: "btn" do
  6 + = link_to new_project_path, class: "btn btn-new" do
7 7 %i.icon-plus
8   - New Project
  8 + New project
9 9  
10 10 %ul.well-list.dash-list
11 11 - projects.each do |project|
... ...
app/views/layouts/_head_panel.html.haml
... ... @@ -27,10 +27,10 @@
27 27 %i.icon-cogs
28 28 - if current_user.can_create_project?
29 29 %li
30   - = link_to new_project_path, title: "Create New Project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do
  30 + = link_to new_project_path, title: "New project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do
31 31 %i.icon-plus
32 32 %li
33   - = link_to profile_path, title: "My Profile", class: 'has_bottom_tooltip', 'data-original-title' => 'Your profile' do
  33 + = link_to profile_path, title: "My profile", class: 'has_bottom_tooltip', 'data-original-title' => 'My profile' do
34 34 %i.icon-user
35 35 %li
36 36 = link_to destroy_user_session_path, class: "logout", method: :delete, title: "Logout", class: 'has_bottom_tooltip', 'data-original-title' => 'Logout' do
... ...
app/views/users/show.html.haml
... ... @@ -5,7 +5,7 @@
5 5 = @user.name
6 6 - if @user == current_user
7 7 .pull-right
8   - = link_to profile_path, class: 'btn btn-small' do
  8 + = link_to profile_path, class: 'btn' do
9 9 %i.icon-edit
10 10 Edit Profile
11 11 %br
... ... @@ -14,7 +14,7 @@
14 14 %small member since #{@user.created_at.stamp("Nov 12, 2031")}
15 15 .clearfix
16 16 %hr
17   - %h5 User Activity:
  17 + %h4 User Activity:
18 18 = render @events
19 19 .span4
20 20 = render 'profile', user: @user
... ...