diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-18 18:18:36 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-18 18:18:36 -0400 |
| commit | ff81576e21f5b89cbf47856c520df3e5e0c9adbe (patch) | |
| tree | e8ba2da8eaec54a203461a0db8e05a3a3e698a11 /templates | |
| parent | 858de1edf50cc1128f6b621a5413b2975ca446eb (diff) | |
| download | lastfm-api-ff81576e21f5b89cbf47856c520df3e5e0c9adbe.tar.gz | |
Import listens from lastfm
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/settings.tmpl | 8 |
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"}} |
