flickr test fix
[redakcja.git] / apps / filebrowser / templates / filebrowser / include / filelisting.html
index 6b3b762..2ac0a28 100644 (file)
@@ -1,6 +1,5 @@
 {% load i18n adminmedia fb_tags fb_versions %}
 <tr class="{% cycle 'row1' 'row2' %}">
-    
     <!-- FILESELECT FOR FILEBROWSEFIELD -->
     {% ifequal query.pop '1' %}
     {% if results_var.select_total %}
@@ -14,7 +13,7 @@
     </td>
     {% endif %}
     {% endifequal %}
-    
+
     <!-- FILESELECT FOR RTE/TINYMCE -->
     {% ifequal query.pop '2' %}
     {% if results_var.select_total %}
@@ -28,7 +27,7 @@
     </td>
     {% endif %}
     {% endifequal %}
-    
+
     <!-- FILESELECT FOR CKEDITOR (FORMER "FCKEDITOR") -->
     {% ifequal query.pop '3' %}
     {% if results_var.select_total %}
     </td>
     {% endif %}
     {% endifequal %}
-    
+
     <!-- SHOW VERSIONS -->
     {% if settings_var.ADMIN_VERSIONS and results_var.images_total %}
     <td class="fb_icon">
         {% ifequal file.filetype 'Image' %}<a href="{% url fb_versions %}{% query_string %}&amp;filename={{ file.filename }}" class="fb_showversionslink" title="{% trans 'Show Versions' %}"></a>{% endifequal %}
     </td>
     {% endif %}
-    
+
     <!-- FILEICON -->
     <td class="fb_icon"><img src="{{ settings_var.URL_FILEBROWSER_MEDIA }}img/filebrowser_type_{{ file.filetype|lower }}.gif" /></td>
-    
+
     <!-- THUMBNAIL -->
     {% if results_var.images_total %}
     <td class="fb_icon">
         {% endifequal %}
     </td>
     {% endif %}
-    
+
     <!-- FILENAME/DIMENSIONS -->
     {% ifequal file.filetype 'Folder' %}
-    <td><b><a href="{% url fb_browse %}{% query_string "" "dir" %}&amp;dir={{ file.path_relative_directory|urlencode }}">{{ file.filename }}</a></b></td>
+    <td><b><a href="{% url fb_browse %}{% query_string '' 'dir' %}&amp;dir={{ file.path_relative_directory|urlencode }}">{{ file.filename }}</a></b></td>
     {% else %}
     <td><b><a href="{{ file.url_full }}">{{ file.filename }}</a></b>{% if file.dimensions %}<br /><span class="tiny">{{ file.dimensions.0 }} x {{ file.dimensions.1 }} px</span>{% endif %}</td>
     {% endifequal %}
-    
+
     <!-- RENAME -->
     <td class="fb_icon"><a href="{% url fb_rename %}{% query_string %}&amp;filename={{ file.filename }}" class="fb_renamelink" title="{% trans 'Rename' %}"></a></td>
-    
+
     <!-- SIZE -->
     <td>{{ file.filesize|filesizeformat }}</td>
-    
+
     <!-- DATE -->
     <td>{{ file.datetime|date:"N j, Y" }}</td>
-    
+
     <!-- DELETE -->
     {% if results_var.delete_total %}
     <td class="fb_icon">
@@ -90,7 +89,7 @@
         {% endifnotequal %}
     </td>
     {% endif %}
-    
+
     <!-- DEBUG -->
     {% if settings_var.DEBUG %}
     <td>
         {% endifequal %}
     </td>
     {% endif %}
-    
+
 </tr>