@@ -791,6 +791,7 @@ class ScrobbleStatusView(LoginRequiredMixin, TemplateView):
data["participating"] = progress_plays.filter(
life_event__isnull=False
).first()
+ data["working"] = progress_plays.filter(task__isnull=False).first()
long_plays = user_scrobble_qs.filter(
long_play_complete=False, played_to_completion=True
@@ -149,5 +149,20 @@
</div>
{% endif %}
+ <hr />
+ <h3>Working</h3>
+ <div class="working">
+ {% if working %}
+ <div class="titles">
+ <p><a href="{{working.media_obj.get_absolute_url}}">{{working.media_obj}}</a></p>
+ {% if working.media_obj.subtitle %}<p><em><a href="{{working.media_obj.subtitle.get_absolute_url}}">{{working.media_obj.subtitle}}</a></em></p>{% endif %}
+ </div>
+ <p><small>{{working.timestamp|naturaltime}} from {{working.source}}</small></p>
+ {% else %}
+ <p>Nothing</p>
+ {% endif %}
</body>
</html>