[scrobbles] Fix task title display
This commit is contained in:
@ -25,8 +25,11 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
{% for scrobble in object_list %}
|
{% for scrobble in object_list %}
|
||||||
<tr>
|
<tr class="{% if scrobble.id in overlap_map %}{{ overlap_map.scrobble.id }}{% endif %}">
|
||||||
<td><a href="{{scrobble.get_absolute_url}}">{{ scrobble.timestamp|naturaltime }}</a></td>
|
<td>
|
||||||
|
{% if scrobble.id in overlap_map %}⏱ {% endif %}
|
||||||
|
<a href="{{scrobble.get_absolute_url}}">{{ scrobble.timestamp|naturaltime }}</a>
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if scrobble.video %}
|
{% if scrobble.video %}
|
||||||
🎬 Video
|
🎬 Video
|
||||||
@ -96,7 +99,7 @@
|
|||||||
{% elif scrobble.brick_set %}
|
{% elif scrobble.brick_set %}
|
||||||
<a href="{% url 'bricksets:brickset_detail' scrobble.brick_set.uuid %}">{{ scrobble.brick_set.title }}</a>
|
<a href="{% url 'bricksets:brickset_detail' scrobble.brick_set.uuid %}">{{ scrobble.brick_set.title }}</a>
|
||||||
{% elif scrobble.task %}
|
{% elif scrobble.task %}
|
||||||
<a href="{% url 'tasks:task_detail' scrobble.task.uuid %}">Task - {{ scrobble.log.title }}</a>
|
<a href="{% url 'tasks:task_detail' scrobble.task.uuid %}">{{scrobble.media_obj}}{% if scrobble.log.title %} - {{ scrobble.log.title }}{% endif %}</a>
|
||||||
{% elif scrobble.life_event %}
|
{% elif scrobble.life_event %}
|
||||||
<a href="{% url 'lifeevents:lifeevent_detail' scrobble.life_event.uuid %}">{{ scrobble.life_event.title }}</a>
|
<a href="{% url 'lifeevents:lifeevent_detail' scrobble.life_event.uuid %}">{{ scrobble.life_event.title }}</a>
|
||||||
{% elif scrobble.mood %}
|
{% elif scrobble.mood %}
|
||||||
|
|||||||
Reference in New Issue
Block a user