diff --git a/vrobbler/templates/locations/geolocation_list.html b/vrobbler/templates/locations/geolocation_list.html index 295c034..72143e5 100644 --- a/vrobbler/templates/locations/geolocation_list.html +++ b/vrobbler/templates/locations/geolocation_list.html @@ -68,7 +68,7 @@ {% for location in object_list %} - {{location.scrobbles.count}} + {{location.scrobble_set.count}} {{location.lat}}x{{location.lon}} {% endfor %} diff --git a/vrobbler/templates/scrobbles/scrobble_archive_year.html b/vrobbler/templates/scrobbles/scrobble_archive_year.html new file mode 100644 index 0000000..5848905 --- /dev/null +++ b/vrobbler/templates/scrobbles/scrobble_archive_year.html @@ -0,0 +1,153 @@ +{% extends "base_list.html" %} +{% load humanize %} + +{% block title %}{{name}}{% endblock %} + +{% block lists %} +
+
+
+
+ + + + + + + + + + {% for scrobble in object_list %} + + + + + + {% endfor %} + +
RankArtistScrobbles
{{scrobble.timestamp|naturaltime}}{{scrobble.media_obj}}{{scrobble.media_type}}
+
+
+
+ + {% if track_charts %} +
+
+
+ + + + + + + + + + {% for chart in track_charts %} + + + + + + {% endfor %} + +
RankTrackScrobbles
{{chart.rank}}{{chart.media_obj.title}}{{chart.count}}
+
+
+
+ {% endif %} + + {% if current_artist_charts %} +
+

Top Artists

+ + + +
+ {% for chart_name, artists in current_artist_charts.items %} +
+
+ + + + + + + + + {% for artist in artists %} + + + + + {% endfor %} + +
ArtistScrobbles
{{artist}}{{artist.num_scrobbles}}
+
+
+ {% endfor %} +
+ {% endif %} +
+ + {% if current_track_charts %} +
+

Top Tracks

+ + + +
+ {% for chart_name, tracks in current_track_charts.items %} +
+
+ + + + + + + + + + {% for track in tracks %} + + + + + + {% endfor %} + +
TrackArtistScrobbles
{{track.title}}{{track.artist}}{{track.num_scrobbles}}
+
+
+ {% endfor %} +
+
+ {% endif %} +
+ +{% endblock %}