Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 68b9ae1

Browse files
committed
Merge pull request #477 from appirio-tech/nav-tweaks
don't open community links in new window
2 parents b477ee4 + 5e6e7f7 commit 68b9ae1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/layout/header/header.controller.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
vm.userMenu = [
4949
{ 'sref': 'dashboard', 'text': 'DASHBOARD', 'icon': '/images/nav/dashboard.svg' },
5050
{ 'sref': 'profile.about', 'srefParams': { 'userHandle': vm.userHandle }, 'text': 'MY PROFILE', 'icon': '/images/nav/profile.svg' },
51-
{ 'href': vm.constants.COMMUNITY_URL + '/PactsMemberServlet?module=PaymentHistory&full_list=false', 'text': 'PAYMENTS', 'icon': '/images/nav/wallet.svg', 'target': '_blank' },
51+
{ 'href': vm.constants.COMMUNITY_URL + '/PactsMemberServlet?module=PaymentHistory&full_list=false', 'text': 'PAYMENTS', 'icon': '/images/nav/wallet.svg' },
5252
{ 'sref': 'settings.profile', 'text': 'SETTINGS', 'icon': '/images/nav/settings.svg' },
5353
];
5454

app/services/nav.service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
'community': [
3030
{ 'sref': 'community.members', 'text': 'OVERVIEW', 'icon': '/images/nav/members.svg' },
3131
{ 'href': '/community/member-programs/', 'text': 'PROGRAMS', 'icon': '/images/nav/programs.svg' },
32-
{ 'href': CONSTANTS.FORUMS_APP_URL, 'text': 'FORUMS', 'icon': '/images/nav/forums.svg', 'target': '_blank' },
32+
{ 'href': CONSTANTS.FORUMS_APP_URL, 'text': 'FORUMS', 'icon': '/images/nav/forums.svg' },
3333
{ 'sref': 'community.statistics', 'text': 'STATISTICS', 'icon': '/images/nav/statistics.svg' },
3434
{ 'href': '/community/events/', 'text': 'EVENTS', 'icon': '/images/nav/events.svg' },
3535
{ 'href': '/blog/', 'text': 'BLOG', 'icon': '/images/nav/blog.svg' }

0 commit comments

Comments
 (0)