diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-27 13:11:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-27 13:11:05 +0300 |
commit | 449edae5aba573943fa048a45d1a78cda9fb13f8 (patch) | |
tree | 12c0e53af2bdf5ce7c1f338794af7af8311b545c /app/views | |
parent | 61d98601583b30928076eb7180d444854f0b4f0a (diff) | |
download | gitlab-ce-449edae5aba573943fa048a45d1a78cda9fb13f8.tar.gz |
Minor UI improvements
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/dashboard/_groups.html.haml | 4 | ||||
-rw-r--r-- | app/views/dashboard/_projects.html.haml | 4 | ||||
-rw-r--r-- | app/views/layouts/_head_panel.html.haml | 4 | ||||
-rw-r--r-- | app/views/users/show.html.haml | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/app/views/dashboard/_groups.html.haml b/app/views/dashboard/_groups.html.haml index 9aca7b353f3..8b32c5642bb 100644 --- a/app/views/dashboard/_groups.html.haml +++ b/app/views/dashboard/_groups.html.haml @@ -3,9 +3,9 @@ = search_field_tag :filter_group, nil, placeholder: 'Filter by name', class: 'dash-filter' - if current_user.can_create_group? %span.pull-right - = link_to new_group_path, class: "btn" do + = link_to new_group_path, class: "btn btn-new" do %i.icon-plus - New Group + New group %ul.well-list.dash-list - groups.each do |group| %li.group-row diff --git a/app/views/dashboard/_projects.html.haml b/app/views/dashboard/_projects.html.haml index 305b83771a1..90b843de016 100644 --- a/app/views/dashboard/_projects.html.haml +++ b/app/views/dashboard/_projects.html.haml @@ -3,9 +3,9 @@ = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'dash-filter' - if current_user.can_create_project? %span.pull-right - = link_to new_project_path, class: "btn" do + = link_to new_project_path, class: "btn btn-new" do %i.icon-plus - New Project + New project %ul.well-list.dash-list - projects.each do |project| diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml index 5644c89016b..6492c122ba0 100644 --- a/app/views/layouts/_head_panel.html.haml +++ b/app/views/layouts/_head_panel.html.haml @@ -27,10 +27,10 @@ %i.icon-cogs - if current_user.can_create_project? %li - = link_to new_project_path, title: "Create New Project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do + = link_to new_project_path, title: "New project", class: 'has_bottom_tooltip', 'data-original-title' => 'New project' do %i.icon-plus %li - = link_to profile_path, title: "My Profile", class: 'has_bottom_tooltip', 'data-original-title' => 'Your profile' do + = link_to profile_path, title: "My profile", class: 'has_bottom_tooltip', 'data-original-title' => 'My profile' do %i.icon-user %li = link_to destroy_user_session_path, class: "logout", method: :delete, title: "Logout", class: 'has_bottom_tooltip', 'data-original-title' => 'Logout' do diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 284098b9b19..743ab0949a1 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -5,7 +5,7 @@ = @user.name - if @user == current_user .pull-right - = link_to profile_path, class: 'btn btn-small' do + = link_to profile_path, class: 'btn' do %i.icon-edit Edit Profile %br @@ -14,7 +14,7 @@ %small member since #{@user.created_at.stamp("Nov 12, 2031")} .clearfix %hr - %h5 User Activity: + %h4 User Activity: = render @events .span4 = render 'profile', user: @user |