{% extends "base_list.html" %} {% load form_tags %} {% load mathfilters %} {% load naturalduration %} {% load static %} {% block title %}{{object.name}}{% endblock %} {% block head_extra %} {% endblock %} {% block lists %}
Shared via link

{% if object.media_type == "Video" %}🎬{% elif object.media_type == "Track" %}🎵{% elif object.media_type == "PodcastEpisode" %}🎙️{% elif object.media_type == "SportEvent" %}⚽{% elif object.media_type == "Book" %}📚{% elif object.media_type == "Paper" %}📄{% elif object.media_type == "VideoGame" %}🎮{% elif object.media_type == "BoardGame" %}🎲{% elif object.media_type == "GeoLocation" %}📍{% elif object.media_type == "Trail" %}🥾{% elif object.media_type == "Beer" %}🍺{% elif object.media_type == "Puzzle" %}🧩{% elif object.media_type == "Food" %}🍔{% elif object.media_type == "Task" %}✅{% elif object.media_type == "WebPage" %}🌐{% elif object.media_type == "LifeEvent" %}🎉{% elif object.media_type == "Mood" %}😊{% elif object.media_type == "BrickSet" %}🧱{% elif object.media_type == "Channel" %}📺{% endif %} {% if object.media_obj.get_absolute_url %} {% endif %} {{ object.media_obj.title }} {% if object.media_obj.get_absolute_url %} {% endif %}

{{ object.media_obj.subtitle }}

{% if object.media_type == "SportEvent" %} {% for team in object.media_obj.teams.all %} {% endfor %} {% endif %} {% if object.media_type == "Task" and object.logdata.title %}

{{ object.logdata.title }}

{% endif %}

{{ object.local_timestamp }}

{% if object.media_type == "Track" %}

Source: {{ object.source }}{% if object.log.mopidy_source %} ({{ object.log.mopidy_source|capfirst }}){% endif %}

{% endif %} {% if object.media_type == "Task" and object.log.weight %}
Weight
{{ object.log.weight }} {% if object.log.unit_type == "imperial" %}lbs{% else %}kg{% endif %}
{% if object.log.body_fat %}
Body Fat
{{ object.log.body_fat }}%
{% endif %} {% if object.log.bmi %}
BMI
{{ object.log.bmi }}
{% endif %} {% if object.log.muscle %}
Muscle
{{ object.log.muscle }} {% if object.log.unit_type == "imperial" %}lbs{% else %}kg{% endif %}
{% endif %} {% if object.log.bone %}
Bone
{{ object.log.bone }} {% if object.log.unit_type == "imperial" %}lbs{% else %}kg{% endif %}
{% endif %} {% if object.log.water %}
Water
{{ object.log.water }}%
{% endif %} {% if object.log.visceral_fat %}
Visceral Fat
{{ object.log.visceral_fat }}
{% endif %} {% if object.log.waist %}
Waist
{{ object.log.waist }} {% if object.log.unit_type == "imperial" %}in{% else %}cm{% endif %}
{% endif %} {% if object.log.lbm %}
Lean Mass
{{ object.log.lbm }} {% if object.log.unit_type == "imperial" %}lbs{% else %}kg{% endif %}
{% endif %} {% if object.log.calories %}
Calories
{{ object.log.calories }}
{% endif %} {% if object.log.comment %}
Comment
{{ object.log.comment }}
{% endif %}
{% endif %} {% if object.media_type == "Task" and object.logdata.description %}

{{ object.logdata.description }}

{% endif %} {% if object.media_type == "Trail" and object.gpx_file %}
{% endif %}

Tags: {% if object.tags.all %} {% for tag in object.tags.all %} {{ tag.name }} {% endfor %} {% else %} untagged {% endif %}

{% with notes_html=object.logdata.notes_as_html %} {% if notes_html %}

Notes

{% if sentiment.compound >= 0.5 %}Positive {% elif sentiment.compound >= 0.05 %}Slightly positive {% elif sentiment.compound > -0.05 %}Neutral {% elif sentiment.compound > -0.5 %}Slightly negative {% else %}Negative {% endif %}
{{ notes_html|safe }}
{% endif %} {% endwith %} {% with sentiment=object.log.sentiment %} {% if sentiment %}
{% endif %} {% endwith %} {% if object.logdata.avg_seconds_per_page %}

Rate: {{object.logdata.avg_seconds_per_page}}s per page

{% endif %} {% if object.media_type == "BoardGame" and object.logdata.as_html %}
Game Details
{{ object.logdata.as_html|safe }}
{% endif %}
{% endblock %} {% block extra_js %} {{ block.super }} {% if object.media_type == "Trail" and object.gpx_file %} {% endif %} {% endblock %}