Files
vrobbler/vrobbler/templates/scrobbles/_last_scrobbles.html

150 lines
5.1 KiB
HTML

{% load humanize %}
{% load naturalduration %}
<div class="row">
<div>
<p>Today <b>{{counts.today}}</b> | This Week <b>{{counts.week}}</b> | This Month <b>{{counts.month}}</b> | This Year <b>{{counts.year}}</b> | All Time <b>{{counts.alltime}}</b></p>
</div>
</div>
<div class="row">
<div class="col-md">
<h3><a href="{% url 'music:tracks_list' %}">Tracks</a></h3>
{% if Track %}
{% with scrobbles=Track count=Track_count time=Track_time %}
{% include "scrobbles/_scrobble_table.html" %}
{% endwith %}
{% else %}
<p>No tracks today</p>
{% endif %}
<h3><a href="{% url 'foods:food_list' %}">Food</a></h3>
{% if Food %}
{% with scrobbles=Food count=Food_count time=Food_time %}
{% include "scrobbles/_scrobble_table.html" %}
{% endwith %}
{% else %}
<p>No food today</p>
{% endif %}
<h3><a href="{% url 'moods:mood_list' %}">Moods</a></h3>
{% if Mood %}
{% with scrobbles=Mood count=Mood_count time=Mood_time %}
{% include "scrobbles/_scrobble_table.html" %}
{% endwith %}
{% else %}
<p>No moods felt today </p>
{% endif %}
</div>
<div class="col-md">
<h3><a href="{% url 'tasks:task_list' %}">Tasks</a></h3>
{% if Task %}
{% 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:video_list' %}">Videos</a></h3>
{% if Video %}
{% 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 %}
{% 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 %}
{% 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 %}
{% 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 %}
{% 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 %}
{% with scrobbles=BoardGame count=BoardGame_count time=BoardGame_time %}
{% include "scrobbles/_scrobble_table.html" %}
{% endwith %}
{% else %}
<p>No board games today</p>
{% endif %}
<h3><a href="{% url 'beers:beer_list' %}">Beers</a></h3>
{% if Beer %}
{% with scrobbles=Beer count=Beer_count time=Beer_time %}
{% include "scrobbles/_scrobble_table.html" %}
{% endwith %}
{% else %}
<p>No beer today</p>
{% endif %}
<h3><a href="{% url 'bricksets:brickset_list' %}">Brick sets</a></h3>
{% if BrickSet %}
{% 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</a></h3>
{% if Puzzle %}
{% 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 %}
{% with scrobbles=Book count=Book_count time=Book_time %}
{% include "scrobbles/_scrobble_table.html" %}
{% endwith %}
{% else %}
<p>No books read today</p>
{% endif %}
<h3><a href="{% url 'locations:geolocation_list' %}">Locations</a></h3>
{% if GeoLocation %}
{% with scrobbles=GeoLocation count=GeoLocation_count time=GeoLocation_time %}
{% include "scrobbles/_scrobble_table.html" %}
{% endwith %}
{% else %}
<p>No locations visited today</p>
{% endif %}
</div>
</div>