File tree Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Expand file tree Collapse file tree 2 files changed +6
-13
lines changed Original file line number Diff line number Diff line change 82
82
83
83
{# Progress field #}
84
84
{% if media_type != MediaTypes.MOVIE.value %}
85
- {% if media_type == MediaTypes.TV.value %}
86
- < td class ="p-2 text-center ">
87
- {{ media.progress }}
88
- {% if media.max_progress %}/ {{ media.max_progress }}{% endif %}
89
- </ td >
90
- < td class ="p-2 text-center "> {{ media.last_watched }}</ td >
91
- {% else %}
92
- < td class ="p-2 text-center ">
93
- {{ media.formatted_progress }}
94
- {% if media.max_progress %}/ {{ media.max_progress }}{% endif %}
95
- </ td >
96
- {% endif %}
85
+ < td class ="p-2 text-center ">
86
+ {{ media.formatted_progress }}
87
+ {% if media.max_progress %}/ {{ media.max_progress }}{% endif %}
88
+ </ td >
89
+ {% if media_type == MediaTypes.TV.value %}< td class ="p-2 text-center "> {{ media.last_watched }}</ td > {% endif %}
97
90
{% endif %}
98
91
99
92
< td class ="p-2 text-center "> {{ media.status|media_status_readable }}</ td >
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ <h2 class="text-xl font-bold mb-4">Your History</h2>
295
295
< div class ="flex justify-between text-sm ">
296
296
< span class ="text-gray-400 "> Progress:</ span >
297
297
< span class ="text-gray-200 ">
298
- {{ user_media.progress }}
298
+ {{ user_media.formatted_progress }}
299
299
{% if user_media.max_progress %}/ {{ user_media.max_progress }}{% endif %}
300
300
</ span >
301
301
</ div >
You can’t perform that action at this time.
0 commit comments