-
+
+
+
{{ range $flash := .Flashes }}
diff --git a/assets/pages/home.tmpl b/assets/pages/home.tmpl
index 49a0be6..21ed6e1 100644
--- a/assets/pages/home.tmpl
+++ b/assets/pages/home.tmpl
@@ -22,11 +22,13 @@
last.fm
+
+
+ update api key…
{{ end }} {{ if .CurrentLastFMAPIKey }} +
current status {{ if .User.LastFMSession }} linked @@ -34,12 +36,14 @@ unlink
{{ else }} unlinked - {{ $cbPath := path "/admin/link_lastfm_do" }} - {{ $cbURL := printf "%s%s" .RequestRoot $cbPath }} + {{ $cbPath := path "/admin/link_lastfm_do" }} + {{ $cbURL := printf "%s%s" .RequestRoot $cbPath }} link
{{ end }} {{ else if not .User.IsAdmin }} - api key not set. please ask your admin to set it +
+
have gonic scrobble to last.fm on your behalf
{{ if .User.IsAdmin }} -you can get an api key here
- update api key+
+ update api key…
{{ end }} {{ if .CurrentLastFMAPIKey }} +
current status {{ if .User.LastFMSession }} linked @@ -34,12 +36,14 @@ unlink
{{ else }} unlinked - {{ $cbPath := path "/admin/link_lastfm_do" }} - {{ $cbURL := printf "%s%s" .RequestRoot $cbPath }} + {{ $cbPath := path "/admin/link_lastfm_do" }} + {{ $cbURL := printf "%s%s" .RequestRoot $cbPath }} link
{{ end }} {{ else if not .User.IsAdmin }} - api key not set. please ask your admin to set it +
+
api key not set
+please ask your admin to set it
{{ end }}