Procházet zdrojové kódy

[puzzles] Add puzzles to homepage

Colin Powell před 2 týdny
rodič
revize
dc965687c2

+ 7 - 0
vrobbler/templates/scrobbles/_last_scrobbles.html

@@ -79,6 +79,13 @@
         {% endwith %}
         {% endif %}
 
+        {% if Puzzle %}
+        <h4>Puzzles</h4>
+        {% with scrobbles=Puzzle count=Puzzle_count time=Puzzle_time %}
+        {% include "scrobbles/_scrobble_table.html" %}
+        {% endwith %}
+        {% endif %}
+
         {% if Book %}
         <h4>Books</h4>
         {% with scrobbles=Book count=Book_count time=Book_time %}