Skip to content

Commit b48bc4a

Browse files
authored
Merge pull request #28 from topcoder-platform/issues-465
Issues-465:fixed the community menu
2 parents d6f52e3 + a3714fa commit b48bc4a

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

views/partials/header.tpl

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,15 +100,22 @@
100100
<a class="Second-Menu-Link" href="https://www.topcoder.com/gigs" target=""><span>Gig Work</span></a>
101101
</div>
102102
</div>
103-
103+
{if $User.SignedIn}
104104
<div class="Header-Second-Menu Community-Menu hide hide-mobile">
105105
<div class="Second-Menu-Content">
106106
<a class="Second-Menu-Link" href="https://www.topcoder.com/my-dashboard"><span>Dashboard</span></a>
107-
<a class="Second-Menu-Link" href="https://www.topcoder.com/members/{if $User.SignedIn}{$Profile.Name|escape:'html'}{/if}"><span>My Profile</span></a>
107+
<a class="Second-Menu-Link" href="https://www.topcoder.com/members/{$User.Name|escape:'html'}"><span>My Profile</span></a>
108108
<a class="Second-Menu-Link" href="https://community.topcoder.com/PactsMemberServlet?module=PaymentHistory&full_list=false" target="_blank"><span>Payments</span></a>
109109
</div>
110110
</div>
111-
111+
{else}
112+
<div class="Header-Second-Menu Community-Menu hide hide-mobile">
113+
<div class="Second-Menu-Content">
114+
<a class="Second-Menu-Link" href="https://www.topcoder.com/community/learn"><span>Overview</span></a>
115+
<a class="Second-Menu-Link" href="https://www.topcoder.com/thrive/tracks?track=Topcoder"><span>How It Works</span></a>
116+
</div>
117+
</div>
118+
{/if}
112119
<div class="Header-Primary-container-Mobile hide-desktop">
113120
<div class="Header-Primary-Mobile hide-desktop">
114121
<a class="flex-1 center-child" href="https://www.topcoder.com">BUSINESS</a>

0 commit comments

Comments
 (0)