added last_season url

This commit is contained in:
ayxan 2022-09-02 06:39:57 +04:00
parent 5814c8e87a
commit e513c2f6df
2 changed files with 15 additions and 3 deletions

View File

@ -30,7 +30,11 @@
<img src="{% static 'icons/trash.png' %}" width="24px" height="24px"> <img src="{% static 'icons/trash.png' %}" width="24px" height="24px">
</a> </a>
</th> </th>
<td>{{s.last_season}} - {{s.last_episode}}</td> <td>
<a href="https://www.imdb.com/title/{{s.imdb_id}}/episodes?season={{s.last_season}}" style="text-decoration: none;" target="_blank">
{{s.last_season}} - {{s.last_episode}}
</a>
</td>
<td> <td>
{% if s.show %} {% if s.show %}
<img src="{% static 'icons/true-check-button.png' %}" width="22px" height="22px"> <img src="{% static 'icons/true-check-button.png' %}" width="22px" height="22px">

View File

@ -29,8 +29,16 @@
<img src="{% static 'icons/trash.png' %}" width="24px" height="24px"> <img src="{% static 'icons/trash.png' %}" width="24px" height="24px">
</a> </a>
</th> </th>
<td>{{s.last_season}} - {{s.last_episode}}</td> <td>
<td>{{d.last_season}} - {{d.last_episode}}</td> <a href="https://www.imdb.com/title/{{s.imdb_id}}/episodes?season={{s.last_season}}" style="text-decoration: none;" target="_blank">
{{s.last_season}} - {{s.last_episode}}
</a>
</td>
<td>
<a href="https://www.imdb.com/title/{{s.imdb_id}}/episodes?season={{d.last_season}}" style="text-decoration: none;" target="_blank">
{{d.last_season}} - {{d.last_episode}}
</a>
</td>
<td>{{d.count}}</td> <td>{{d.count}}</td>
</tr> </tr>
{% endfor %} {% endfor %}