summaryrefslogtreecommitdiff
path: root/views/partials/header.ejs
blob: d6c8fa9704051adb1af4d3214c4070498a0458c7 (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 && user._id == 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>