From b104197aa7df8ec0ebf9273203989ce828138b6a Mon Sep 17 00:00:00 2001 From: Savvas-cl Date: Sat, 18 Mar 2017 15:29:15 +0200 Subject: [PATCH] Fix for issue #1093 Add TCO link to the top nav The TCO link for the top nav has been added fore the tc-site. Just like it is in topcoder-app. For test visit challenge-details page and hover over menu. --- src/footer.html | 1 + wp/wp-content/themes/tcs-responsive/footer.php | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/footer.html b/src/footer.html index a92cd3a4..50a02505 100644 --- a/src/footer.html +++ b/src/footer.html @@ -249,6 +249,7 @@

Comment Examples

], 'community': [ { 'href': '/community/members/', 'text': 'OVERVIEW', 'icon': '/mf/i/nav/members.svg' }, + { 'href': '/tco', 'text': 'TCO', 'icon': '/mf/i/nav/tco-generic.svg', 'target': '_blank' }, { 'href': '/community/member-programs/', 'text': 'PROGRAMS', 'icon': '/mf/i/nav/programs.svg' }, { 'href': 'https://' + tcconfig.forumsAppURL, 'text': 'FORUMS', 'icon': '/mf/i/nav/forums.svg' }, { 'href': '/community/statistics/', 'text': 'STATISTICS', 'icon': '/mf/i/nav/statistics.svg' }, diff --git a/wp/wp-content/themes/tcs-responsive/footer.php b/wp/wp-content/themes/tcs-responsive/footer.php index fbb6cb15..03ec7a90 100644 --- a/wp/wp-content/themes/tcs-responsive/footer.php +++ b/wp/wp-content/themes/tcs-responsive/footer.php @@ -268,7 +268,7 @@ function getHashParameterByName(name, source) { ], 'community': [ { 'href': '/community/members/', 'text': 'OVERVIEW', 'icon': '/mf/i/nav/members.svg' }, - { 'href': '/tco', 'text': 'TCO', 'icon': '/mf/i/nav/tco-generic.svg' }, + { 'href': '/tco', 'text': 'TCO', 'icon': '/mf/i/nav/tco-generic.svg' }, { 'href': '/community/member-programs/', 'text': 'PROGRAMS', 'icon': '/mf/i/nav/programs.svg' }, { 'href': 'https://' + tcconfig.forumsAppURL, 'text': 'FORUMS', 'icon': '/mf/i/nav/forums.svg' }, { 'href': '/community/statistics/', 'text': 'STATISTICS', 'icon': '/mf/i/nav/statistics.svg' },