From 60e95244097df2f0d5278050e42d15cc0a791e05 Mon Sep 17 00:00:00 2001 From: Juda Kaleta Date: Mon, 23 Dec 2013 12:39:10 +0100 Subject: [PATCH] Example project: fix infobox --- example_project/posts/templates/posts/post_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_project/posts/templates/posts/post_detail.html b/example_project/posts/templates/posts/post_detail.html index 60687d6..14847ee 100644 --- a/example_project/posts/templates/posts/post_detail.html +++ b/example_project/posts/templates/posts/post_detail.html @@ -15,7 +15,7 @@ URL: {{ my_video.url }} Code: {{ my_video.code }} Thumbnail: {{ my_video.thumbnail }} - HTTPS: {% if my_video.is_secure %}Yes{% else %}No{% endif %} + HTTPS: {% if my_video.protocol == 'https' %}Yes{% else %}No{% endif %} {% video my_video "large" %} {% endvideo %}