Commits

Stephen McDonald committed 541532c Draft

Restore styles for jquery popups.

Comments (0)

Files changed (2)

filebrowser_safe/templates/filebrowser/include/filelisting.html

 {% load i18n future adminmedia fb_tags mezzanine_tags %}
 
+
+<style>
+{% if query.pop == '4' %}
+#media-library-popup #header, #media-library-popup .object-tools {display: none;}
+{% else %}
 {% if query.pop %}
-<style>
 #header, .object-tools {display: none;}
 h1 {margin:-30px 0 15px 0;}
+{% endif %}
+{% endif %}
 </style>
-{% endif %}
 
 {% for file in page.object_list %}
 <tr class="{% cycle 'row1' 'row2' %}">

filebrowser_safe/templates/filebrowser/include/tableheader.html

     {% ifequal query.o 'filename_lower' %}<th class="sorted {{ query.ot }}ending"><a href="{% query_string "" "o,ot,p" %}&amp;ot={% ifequal query.ot 'desc' %}asc{% else %}desc{% endifequal %}&amp;o=filename_lower">{% trans 'Filename' %}</a></th>{% endifequal %}
     {% ifnotequal query.o 'filename_lower' %}<th><a href="{% query_string "" "o,ot,p" %}&amp;ot=asc&amp;o=filename_lower">{% trans 'Filename' %}</a></th>{% endifnotequal %}
     <!-- RENAME -->
-    {% if not query.pop %}}
+    {% if not query.pop %}
     <th>&nbsp;</th>
     {% endif %}
     <!-- SIZE -->