mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-25 12:21:21 +01:00
Language and Complexity will not be written if they are missing.
This commit is contained in:
parent
1fc7bf4cdb
commit
e53c67aa0a
2 changed files with 8 additions and 0 deletions
|
@ -12,8 +12,12 @@
|
|||
<div class="close-mask" data-dismiss="modal"></div>
|
||||
</div>
|
||||
<h4>{{ session.title }}</h4>
|
||||
{% if session.language != null %}
|
||||
<span class="theme-metadata"><span class="caption">Language: </span>{{ session.language }}</span>
|
||||
{% endif %}
|
||||
{% if session.complexity != null %}
|
||||
<span class="theme-metadata"><span class="caption">Complexity: </span>{{ session.complexity }}</span>
|
||||
{% endif %}
|
||||
{% if session.video %}
|
||||
<div class="theme-video embed-responsive embed-responsive-16by9">
|
||||
<iframe class="embed-responsive-item" src="{{ session.video }}"></iframe>
|
||||
|
|
|
@ -17,8 +17,12 @@
|
|||
{% for session_speaker in session.speakers %}
|
||||
{% if session_speaker == speaker.id %}
|
||||
<h4>{{ session.title }}</h4>
|
||||
{% if session.language != null %}
|
||||
<span class="theme-metadata"><span class="caption">Language: </span>{{ session.language }}</span>
|
||||
{% endif %}
|
||||
{% if session.complexity != null %}
|
||||
<span class="theme-metadata"><span class="caption">Complexity: </span>{{ session.complexity }}</span>
|
||||
{% endif %}
|
||||
{% if session.video %}
|
||||
<div class="theme-video embed-responsive embed-responsive-16by9">
|
||||
<iframe class="embed-responsive-item" src="{{ session.video }}"></iframe>
|
||||
|
|
Loading…
Reference in a new issue