Commit 9fa94cad authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge branch 'consistent-naming-of-user-and-profile-page' of /home/git/repositories/gitlab/gitlabhq

parents 4123c76e b0502c20
...@@ -105,7 +105,7 @@ module ApplicationHelper ...@@ -105,7 +105,7 @@ module ApplicationHelper
groups = current_user.authorized_groups.map { |group| { label: "group: #{simple_sanitize(group.name)}", url: group_path(group) } } groups = current_user.authorized_groups.map { |group| { label: "group: #{simple_sanitize(group.name)}", url: group_path(group) } }
default_nav = [ default_nav = [
{ label: "My Profile", url: profile_path }, { label: "My Profile settings", url: profile_path },
{ label: "My SSH Keys", url: profile_keys_path }, { label: "My SSH Keys", url: profile_keys_path },
{ label: "My Dashboard", url: root_path }, { label: "My Dashboard", url: root_path },
{ label: "Admin Section", url: admin_root_path }, { label: "Admin Section", url: admin_root_path },
......
...@@ -30,11 +30,11 @@ ...@@ -30,11 +30,11 @@
= link_to new_project_path, title: "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 %i.icon-plus
%li %li
= link_to profile_path, title: "My profile", class: 'has_bottom_tooltip', 'data-original-title' => 'My profile' do = link_to profile_path, title: "Profile settings", class: 'has_bottom_tooltip', 'data-original-title' => 'Profile settings"' do
%i.icon-user %i.icon-user
%li %li
= link_to destroy_user_session_path, class: "logout", method: :delete, title: "Logout", class: 'has_bottom_tooltip', 'data-original-title' => 'Logout' do = link_to destroy_user_session_path, class: "logout", method: :delete, title: "Logout", class: 'has_bottom_tooltip', 'data-original-title' => 'Logout' do
%i.icon-signout %i.icon-signout
%li %li
= link_to current_user, class: "profile-pic", id: 'profile-pic' do = link_to current_user, class: "profile-pic", id: 'profile-pic' do
= image_tag avatar_icon(current_user.email, 26), alt: '' = image_tag avatar_icon(current_user.email, 26), alt: 'User activity'
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
.pull-right .pull-right
= link_to profile_path, class: 'btn' do = link_to profile_path, class: 'btn' do
%i.icon-edit %i.icon-edit
Edit Profile Edit Profile settings
%br %br
%small #{@user.username} %small #{@user.username}
%br %br
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment