aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorThibaut Horel <thibaut.horel@gmail.com>2017-06-18 18:18:36 -0400
committerThibaut Horel <thibaut.horel@gmail.com>2017-06-18 18:18:36 -0400
commitff81576e21f5b89cbf47856c520df3e5e0c9adbe (patch)
treee8ba2da8eaec54a203461a0db8e05a3a3e698a11 /templates
parent858de1edf50cc1128f6b621a5413b2975ca446eb (diff)
downloadlastfm-api-ff81576e21f5b89cbf47856c520df3e5e0c9adbe.tar.gz
Import listens from lastfm
Diffstat (limited to 'templates')
-rw-r--r--templates/settings.tmpl8
1 files changed, 7 insertions, 1 deletions
diff --git a/templates/settings.tmpl b/templates/settings.tmpl
index 9c68b16..da3dabb 100644
--- a/templates/settings.tmpl
+++ b/templates/settings.tmpl
@@ -29,9 +29,15 @@
</div>
</div>
+ <p>
+ {{if not .LastImport.IsZero}}
+ {{.ImportCount}} listens imported from Last.fm (last import on {{.LastImport.Format "Mon, Jan 2 15:04"}}).
+ {{end}}
+ <input type="submit" name="import" value="IMPORT">
+ </p>
</section>
<div class="row">
-<input type="submit" value="SAVE">
+<input type="submit" name="save" value="SAVE">
</div>
</form>
{{template "footer"}}