From c5e35e43d5c11c79e31364cc37f063a6c1b7829d Mon Sep 17 00:00:00 2001
From: Lisa Passing
Date: Tue, 24 Mar 2015 17:25:35 +0100
Subject: [PATCH] only render profile dropdown if signed in
---
app/templates/top.hbs | 24 +++++++++++++-----------
1 file changed, 13 insertions(+), 11 deletions(-)
diff --git a/app/templates/top.hbs b/app/templates/top.hbs
index f9193e2c..7e9bc7f9 100644
--- a/app/templates/top.hbs
+++ b/app/templates/top.hbs
@@ -56,19 +56,21 @@
{{/if}}
-
- -
- {{#link-to "profile" class="signed-in"}}Accounts{{/link-to}}
-
- {{#if config.billingEndpoint}}
+ {{#if auth.signedIn}}
+
-
- Billing
+ {{#link-to "profile" class="signed-in"}}Accounts{{/link-to}}
- {{/if}}
- -
- Sign Out
-
-
+ {{#if config.billingEndpoint}}
+ -
+ Billing
+
+ {{/if}}
+ -
+ Sign Out
+
+
+ {{/if}}
\ No newline at end of file