浏览代码

[videos] Fix lookup for ids for videos

Colin Powell 19 小时之前
父节点
当前提交
9c2355978e
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      vrobbler/templates/videos/video_detail.html

+ 2 - 2
vrobbler/templates/videos/video_detail.html

@@ -66,12 +66,12 @@ dd {
         {% if object.overview %}<p><em>{{object.overview}}</em></p>{% endif %}
         {% if object.plot%}<p>{{object.plot|safe|linebreaks|truncatewords:160}}</p>{% endif %}
         <hr />
-        {% if object.imdb_link %}
+        {% if object.imdb_id %}
         <p style="float:right;">
             <a href="{{object.imdb_link}}"><img src="{% static "images/imdb_logo.png" %}" width=35></a>
         </p>
         {% endif %}
-        {% if object.youtube_link %}
+        {% if object.youtube_id %}
         <p style="float:right;">
             <a href="{{object.youtube_link}}"><img src="{% static "images/youtube_logo.png" %}" width=35></a>
         </p>