summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kjetil.orbekk@gmail.com>2020-02-26 22:26:29 -0500
committerKjetil Orbekk <kjetil.orbekk@gmail.com>2020-02-26 22:26:29 -0500
commit65b484c824cb43ed2683290997d79612e88290fa (patch)
tree8ff7e0d9fe4bf5a114c87cf600f21f0b37aa6968
parentf9aa9e9810b58ff44faa5fa80865f9a35211f4ba (diff)
Remove strava link unless logged in
-rw-r--r--templates/index.hbs2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/index.hbs b/templates/index.hbs
index 66d89ac..76200b8 100644
--- a/templates/index.hbs
+++ b/templates/index.hbs
@@ -1,9 +1,9 @@
{{#*inline "page"}}
{{#if user}}
<p>Logged in as {{ user }}</p>
+ <p><a href="/link_strava">Link strava account</a></p>
{{/if}}
<p>Message: {{ message }}</p>
-<p><a href="/link_strava">Link strava account</a></p>
{{#each entries}}
{{#each this }}
(thing {{this}})