diff options
| author | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-19 22:21:33 -0400 |
|---|---|---|
| committer | Thibaut Horel <thibaut.horel@gmail.com> | 2017-06-19 22:21:33 -0400 |
| commit | a2a69c3fd9f0149650f8c53d985049a38f36f238 (patch) | |
| tree | f6a696fdece1aa12537c2c343e4162f52a3f2840 /templates/settings.tmpl | |
| parent | 458294c8de2af24313d5d3e430482fb187128434 (diff) | |
| download | lastfm-api-a2a69c3fd9f0149650f8c53d985049a38f36f238.tar.gz | |
Lastfm loved tracks import
Diffstat (limited to 'templates/settings.tmpl')
| -rw-r--r-- | templates/settings.tmpl | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/templates/settings.tmpl b/templates/settings.tmpl index da3dabb..5632cda 100644 --- a/templates/settings.tmpl +++ b/templates/settings.tmpl @@ -30,10 +30,14 @@ </div> <p> - {{if not .LastImport.IsZero}} - {{.ImportCount}} listens imported from Last.fm (last import on {{.LastImport.Format "Mon, Jan 2 15:04"}}). + {{if not .Import.To.IsZero}} + {{.Import.Count}} listens imported from Last.fm (last import on {{.Import.To.Format "Mon, Jan 2 15:04"}}). {{end}} - <input type="submit" name="import" value="IMPORT"> + <input type="submit" name="import" value="IMPORT"><br/> + {{if not .LoveImport.Time.IsZero}} + {{.LoveImport.Count}} loved tracks imported from Last.fm (last import on {{.LoveImport.Time.Format "Mon, Jan 2 15:04"}}). + {{end}} + <input type="submit" name="love_import" value="IMPORT"> </p> </section> <div class="row"> |
