]> git.parisson.com Git - telemeta.git/commitdiff
fix no item when adding item
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Jan 2016 10:32:42 +0000 (11:32 +0100)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Wed, 13 Jan 2016 10:32:42 +0000 (11:32 +0100)
telemeta/pages
telemeta/templates/telemeta/mediaitem_detail.html

index db808781ec542f93af7d4be788b75a8cd1bddb1b..f8324093174d077b674ac2c52eb0db6eaf815ab5 160000 (submodule)
@@ -1 +1 @@
-Subproject commit db808781ec542f93af7d4be788b75a8cd1bddb1b
+Subproject commit f8324093174d077b674ac2c52eb0db6eaf815ab5
index 22e42271aa2ef5f4410722c0b7d0c6f4da63fa87..135b3cc83d72cc3663a2438012905b069bd48ef8 100644 (file)
 
 
 {% block modal %}
+{% if item %}
 <div id="share" class="modal fade" role="dialog">
   <div class="modal-dialog">
     <div class="modal-content">
     </div>
   </div>
 </div>
+{% endif %}
 {% endblock %}
 
 {% endblock content %}