diff --git a/vrobbler/templates/bricksets/brickset_detail.html b/vrobbler/templates/bricksets/brickset_detail.html new file mode 100644 index 0000000..5cdf599 --- /dev/null +++ b/vrobbler/templates/bricksets/brickset_detail.html @@ -0,0 +1,56 @@ +{% extends "base_list.html" %} +{% load mathfilters %} +{% load static %} +{% load naturalduration %} + +{% block title %}{{object.title}}{% endblock %} + +{% block lists %} + +
+ + {% if object.cover%} +

+ +

+ {% endif %} +
+ {% if object.summary %} +

{{object.summary|safe|linebreaks|truncatewords:160}}

+
+ {% endif %} +

+ + +

+
+
+
+

{{scrobbles.count}} scrobbles

+
+
+
+

Last scrobbles

+
+ + + + + + + + + + {% for scrobble in scrobbles.all|dictsortreversed:"timestamp" %} + + + + + + {% endfor %} + +
DateCompletedTime
{{scrobble.local_timestamp}}{% if scrobble.logdata.long_play_complete == True %}Yes{% endif %}{% if scrobble.in_progress %}Now reading{% else %}{{scrobble.session_pages_read}}{% endif %}
+
+
+
+{% endblock %} diff --git a/vrobbler/templates/bricksets/brickset_list.html b/vrobbler/templates/bricksets/brickset_list.html new file mode 100644 index 0000000..b6f76ea --- /dev/null +++ b/vrobbler/templates/bricksets/brickset_list.html @@ -0,0 +1,23 @@ +{% extends "base_list.html" %} + +{% block title %}Brick Sets{% endblock %} + +{% block head_extra %} + +{% endblock %} + +{% block lists %} +
+ +
+
+ {% include "_scrobblable_list.html" %} +
+
+
+{% endblock %}