summaryrefslogtreecommitdiff
path: root/views/partials/header.ejs
blob: e0e98c248fbae6321d5d805c5a7e897122f85661 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<a href="/" class="logo"><img src="/assets/img/logo4.svg"></a>

<span class="topLinks">
[[ if (logged_in) { ]]
	[[ if (profile && String(user._id) == String(profile._id)) { ]]
	<a href="/profile" data-role="edit-profile-modal" class="topLink editProfile">Edit Profile <span class="icon-ios7-gear-outline"></span></a>
	[[ } else if (! profile) { ]]
	<a href="/profile" class="topLink">View Profile</a>
	[[ } ]]
[[ } else { ]]
	<a href="#" data-role="show-signup-modal" class="signUp topLink">Sign Up</a>
	<a href="#" data-role="show-signin-modal" class="signIn topLink">Sign In</a>
[[ } ]]
</span>