summaryrefslogtreecommitdiff
path: root/app/views/users/show.html.haml
diff options
context:
space:
mode:
authorAlfredo Sumaran <alfredo@gitlab.com>2016-03-01 11:20:43 -0500
committerAlfredo Sumaran <alfredo@gitlab.com>2016-03-01 11:20:52 -0500
commit48ae8ef165a426e5899201789f9b6714ca21e808 (patch)
tree02b5fce2d0485efa96c0a2b621cd2b9c9e477a88 /app/views/users/show.html.haml
parent8c90b6ecca1ccf21fd30231531208c8b6fdcca10 (diff)
downloadgitlab-ce-48ae8ef165a426e5899201789f9b6714ca21e808.tar.gz
Activate tab according URL
Diffstat (limited to 'app/views/users/show.html.haml')
-rw-r--r--app/views/users/show.html.haml14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml
index 12cd61f3578..15b1dbd508a 100644
--- a/app/views/users/show.html.haml
+++ b/app/views/users/show.html.haml
@@ -70,17 +70,17 @@
= @user.location
%ul.nav-links.center
- %li.activity-tab.active
+ %li.activity-tab
= link_to user_calendar_activities_path, data: {target: 'div#activity', action: 'activity', toggle: 'tab'} do
Activity
%li.groups-tab
= link_to user_groups_path, data: {target: 'div#groups', action: 'groups', toggle: 'tab'} do
Groups
- %li.contributed-tab
- = link_to user_contributed_projects_path, data: {target: 'div#contributed', action: 'contributed', toggle: 'tab'} do
+ %li.contributed_projects-tab
+ = link_to user_contributed_projects_path, data: {target: 'div#contributed_projects', action: 'contributed_projects', toggle: 'tab'} do
Contributed projects
- %li.personal-tab
- = link_to user_projects_path, data: {target: 'div#personal', action: 'personal', toggle: 'tab'} do
+ %li.projects-tab
+ = link_to user_projects_path, data: {target: 'div#projects', action: 'projects', toggle: 'tab'} do
Personal projects
%div{ class: container_class }
@@ -99,10 +99,10 @@
#groups.tab-pane
- # This tab is always loaded via AJAX
- #contributed.tab-pane
+ #contributed_projects.tab-pane
- # This tab is always loaded via AJAX
- #personal.tab-pane
+ #projects.tab-pane
- # This tab is always loaded via AJAX
.loading-status