From 5ea0f772418741faeb29a9c731e066ab5a7c5a4f Mon Sep 17 00:00:00 2001 From: hardythe1 Date: Tue, 12 Nov 2013 18:05:43 +0530 Subject: adding condition to see if the video/slide is avaliable --- templates/conference/details.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/conference/details.html b/templates/conference/details.html index c0e8156..14a9660 100644 --- a/templates/conference/details.html +++ b/templates/conference/details.html @@ -4,9 +4,18 @@ {% block content %}
{{ detail.abstract }}
+ +{% if slides %} +{% else %} +Sorry, Video for this talk is not available.
+{% endif %}By: {{ detail.speaker }}
-Download Slides +{% if slides %} +Download Slides +{% else %} +Sorry, Slides for this talk are not available.
+{% endif %} {% endblock %} -- cgit