]> git.parisson.com Git - teleforma.git/commitdiff
fix style
authoryomguy <yomguy@parisson.com>
Sat, 28 Jul 2012 22:29:57 +0000 (00:29 +0200)
committeryomguy <yomguy@parisson.com>
Sat, 28 Jul 2012 22:29:57 +0000 (00:29 +0200)
teleforma/templates/teleforma/course_media.html

index 44ba2092644c9c857af42ba45614ec25188966db..007642abbf7fadd1cc0cdc1a55b02ecd8c212bd0 100644 (file)
@@ -100,8 +100,8 @@ $(document).ready(function(){
 </div>
 
 {% elif "audio" in media.mime_type %}
-<div class="audio" style="margin-top:1em;">
 
+<div style="margin-top:1em;">
 {% if media.item.related.all %}
  {% for related in media.item.related.all %}
   {% if related.title == "preview" %}
@@ -111,11 +111,11 @@ $(document).ready(function(){
 {% else %}
  snapshot
 {% endif %}
-
+</div>
+<div class="audio">
 <audio controls preload="auto">
 <source src="{{ MEDIA_URL }}{{ media.item.file }}" type="{{ media.mime_type }}" />
 </audio>
-
 </div>
 {% endif %}