diff --git a/vrobbler/apps/scrobbles/views.py b/vrobbler/apps/scrobbles/views.py index 1ae2979..0ff66c8 100644 --- a/vrobbler/apps/scrobbles/views.py +++ b/vrobbler/apps/scrobbles/views.py @@ -868,7 +868,6 @@ class ScrobbleDetailView(DetailView): related_scrobbles = ( Scrobble.objects.filter(user=user) .filter(**{fk_field: media_obj}) - .exclude(id=self.object.id) .order_by("-timestamp") ) else: diff --git a/vrobbler/templates/scrobbles/scrobble_detail.html b/vrobbler/templates/scrobbles/scrobble_detail.html index 42cad5e..57c2961 100644 --- a/vrobbler/templates/scrobbles/scrobble_detail.html +++ b/vrobbler/templates/scrobbles/scrobble_detail.html @@ -10,8 +10,16 @@
{{ object.logdata.description }}
+{% endif %} {% with notes_html=object.logdata.notes_as_html %} {% if notes_html %} @@ -58,7 +66,7 @@{{ related_scrobbles.paginator.count }} scrobble{{ related_scrobbles.paginator.count|pluralize }}
| {{ scrobble.timestamp|date:"M d, Y" }} | +|
| {% if scrobble.id == object.id %}{{ scrobble.timestamp|date:"M d, Y" }}{% else %}{{ scrobble.timestamp|date:"M d, Y" }}{% endif %} | {% if scrobble.media_type == "Task" and scrobble.logdata.title %}{{ scrobble.media_obj.title }}: {{ scrobble.logdata.title }}{% else %}{{ scrobble.media_obj.title|default:scrobble.media_obj }}{% endif %} |