From e53c67aa0af22f14a24c69d1c71044a167fe9e8f Mon Sep 17 00:00:00 2001 From: Said Tahsin Dane Date: Thu, 5 Mar 2015 11:58:31 +0200 Subject: [PATCH] Language and Complexity will not be written if they are missing. --- _includes/sessions-modals.html | 4 ++++ _includes/speakers-modals.html | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/_includes/sessions-modals.html b/_includes/sessions-modals.html index ab3dabf..d26da52 100644 --- a/_includes/sessions-modals.html +++ b/_includes/sessions-modals.html @@ -12,8 +12,12 @@

{{ session.title }}

+ {% if session.language != null %} Language: {{ session.language }} + {% endif %} + {% if session.complexity != null %} Complexity: {{ session.complexity }} + {% endif %} {% if session.video %}
diff --git a/_includes/speakers-modals.html b/_includes/speakers-modals.html index 44e22e0..4e3e115 100644 --- a/_includes/speakers-modals.html +++ b/_includes/speakers-modals.html @@ -17,8 +17,12 @@ {% for session_speaker in session.speakers %} {% if session_speaker == speaker.id %}

{{ session.title }}

+ {% if session.language != null %} + {% endif %} + {% if session.complexity != null %} + {% endif %} {% if session.video %}