[videos] Fix lookup for ids for videos
This commit is contained in:
@ -66,12 +66,12 @@ dd {
|
|||||||
{% if object.overview %}<p><em>{{object.overview}}</em></p>{% endif %}
|
{% if object.overview %}<p><em>{{object.overview}}</em></p>{% endif %}
|
||||||
{% if object.plot%}<p>{{object.plot|safe|linebreaks|truncatewords:160}}</p>{% endif %}
|
{% if object.plot%}<p>{{object.plot|safe|linebreaks|truncatewords:160}}</p>{% endif %}
|
||||||
<hr />
|
<hr />
|
||||||
{% if object.imdb_link %}
|
{% if object.imdb_id %}
|
||||||
<p style="float:right;">
|
<p style="float:right;">
|
||||||
<a href="{{object.imdb_link}}"><img src="{% static "images/imdb_logo.png" %}" width=35></a>
|
<a href="{{object.imdb_link}}"><img src="{% static "images/imdb_logo.png" %}" width=35></a>
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if object.youtube_link %}
|
{% if object.youtube_id %}
|
||||||
<p style="float:right;">
|
<p style="float:right;">
|
||||||
<a href="{{object.youtube_link}}"><img src="{% static "images/youtube_logo.png" %}" width=35></a>
|
<a href="{{object.youtube_link}}"><img src="{% static "images/youtube_logo.png" %}" width=35></a>
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user