From 90d5dda091d4de532f3382782332261294904164 Mon Sep 17 00:00:00 2001 From: Thabo Date: Wed, 14 Oct 2015 14:45:40 -0700 Subject: [PATCH] fix profile links (wp) --- wp/wp-content/themes/tcs-responsive/footer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wp/wp-content/themes/tcs-responsive/footer.php b/wp/wp-content/themes/tcs-responsive/footer.php index 4577f4bb..d95ca6c5 100644 --- a/wp/wp-content/themes/tcs-responsive/footer.php +++ b/wp/wp-content/themes/tcs-responsive/footer.php @@ -261,6 +261,7 @@ function _kms(u){ }); //vm.userHandle = handle; $('.username').html(handle); + $('.profile-link').attr('href', '/members/' + handle); }); } @@ -291,7 +292,7 @@ function _kms(u){ vm.userMenu = [ { 'href': '/my-dashboard', 'text': 'DASHBOARD', 'icon': '/mf/i/nav/dashboard.svg' }, - { 'href': '/profile/about', 'text': 'MY PROFILE', 'icon': '/mf/i/nav/badge.svg' }, + { 'href': '/profile', 'text': 'MY PROFILE', 'icon': '/mf/i/nav/badge.svg', 'class': 'profile-link' }, { 'href': 'https:' + tcconfig.communityURL + '/PactsMemberServlet?module=PaymentHistory&full_list=false', 'text': 'PAYMENTS', 'icon': '/mf/i/nav/money-bag.svg' }, { 'href': '/settings/profile', 'text': 'SETTINGS', 'icon': '/mf/i/nav/gear.svg' }, ];