mirror of
https://github.com/chibicitiberiu/ytsm.git
synced 2024-02-24 05:43:31 +00:00
Fixed handling of channel subscriptions, where new videos are added to the beginning of the playlist instead of the end.
Added 'new' field to videos, so not all the unwatched videos have 'new' badge.
This commit is contained in:
@ -11,7 +11,7 @@
|
||||
</a>
|
||||
<div class="card-body">
|
||||
<h5 class="card-title">
|
||||
{% if not video.watched %}
|
||||
{% if video.new and not video.watched %}
|
||||
<sup class="badge badge-primary">New</sup>
|
||||
{% endif %}
|
||||
<a href="{% url 'video' video.id %}" target="_blank">
|
||||
|
Reference in New Issue
Block a user