|
@@ -7,62 +7,78 @@
|
|
|
</div>
|
|
|
<div class="row">
|
|
|
<div class="col-md">
|
|
|
+ <h3><a href="{% url 'music:tracks_list' %}">Tracks</a></h3>
|
|
|
{% if Track %}
|
|
|
- <h2>Music</h2>
|
|
|
{% with scrobbles=Track count=Track_count time=Track_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ No tracks today
|
|
|
{% endif %}
|
|
|
</div>
|
|
|
<div class="col-md">
|
|
|
|
|
|
+ <h3><a href="{% url 'tasks:task_list' %}">Tasks</a></h3>
|
|
|
{% if Task %}
|
|
|
- <h2>Latest tasks</h2>
|
|
|
{% with scrobbles=Task count=Task_count time=Task_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ <p>No tasks today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+ <h3><a href="{% url 'videos:movie_list' %}">Videos</a></h3>
|
|
|
{% if Video %}
|
|
|
- <h2>Videos</h2>
|
|
|
{% with scrobbles=Video count=Video_count time=Video_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ <p>No videos today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+ <h3><a href="{% url 'webpages:webpage_list' %}">Web pages</a></h3>
|
|
|
{% if WebPage %}
|
|
|
- <h4>Web pages</h4>
|
|
|
{% with scrobbles=WebPage count=WebPage_count time=WebPage_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else%}
|
|
|
+ <p>No web page read today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+ <h3><a href="{% url 'sports:event_list' %}">Sport events</a></h3>
|
|
|
{% if SportEvent %}
|
|
|
- <h2>Sports</h2>
|
|
|
{% with scrobbles=SportEvent count=SportEvent_count time=SportEvent_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ <p>No sports today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+ <h3><a href="{% url 'podcasts:podcast_list' %}">Podcasts</a></h3>
|
|
|
{% if PodcastEpisode %}
|
|
|
- <h2>Latest podcasts</h2>
|
|
|
{% with scrobbles=PodcastEpisode count=PodcastEpisode_count time=PodcastEpisode_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ <p>No podcasts today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+ <h3><a href="{% url "videogames:videogame_list" %}">Video games</a></h3>
|
|
|
{% if VideoGame %}
|
|
|
- <h4>Video games</h4>
|
|
|
{% with scrobbles=VideoGame count=VideoGame_count time=VideoGame_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ <p>No video games today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+ <h3><a href="{% url "boardgames:boardgame_list" %}">Board games</a></h3>
|
|
|
{% if BoardGame %}
|
|
|
- <h4>Board games</h4>
|
|
|
{% with scrobbles=BoardGame count=BoardGame_count time=BoardGame_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ <p>No board games today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
{% if Beer %}
|
|
@@ -72,25 +88,31 @@
|
|
|
{% endwith %}
|
|
|
{% endif %}
|
|
|
|
|
|
+ <h3><a href="{% url 'bricksets:brickset_list' %}">Brick sets</a></h3>
|
|
|
{% if BrickSet %}
|
|
|
- <h4>Brick sets</h4>
|
|
|
{% with scrobbles=BrickSet count=BrickSet_count time=BrickSet_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ <p>No brick sets today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+ <h3><a href="{% url 'puzzles:puzzle_list' %}">Puzzles</aa></h3>
|
|
|
{% if Puzzle %}
|
|
|
- <h4>Puzzles</h4>
|
|
|
{% with scrobbles=Puzzle count=Puzzle_count time=Puzzle_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ <p>No puzzles today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
+ <h3><a href="{% url 'books:book_list' %}">Books</a></h3>
|
|
|
{% if Book %}
|
|
|
- <h4>Books</h4>
|
|
|
{% with scrobbles=Book count=Book_count time=Book_time %}
|
|
|
{% include "scrobbles/_scrobble_table.html" %}
|
|
|
{% endwith %}
|
|
|
+ {% else %}
|
|
|
+ <p>No books today</p>
|
|
|
{% endif %}
|
|
|
|
|
|
</div>
|