diff --git a/filebrowser/templates/filebrowser/append.html b/filebrowser/templates/filebrowser/append.html index a96b3861..b5fc0248 100644 --- a/filebrowser/templates/filebrowser/append.html +++ b/filebrowser/templates/filebrowser/append.html @@ -4,9 +4,9 @@ - +
{% trans "FileBrowser" %}
{% trans "FileBrowser" %}{% trans "FileBrowser" %}
- \ No newline at end of file + diff --git a/filebrowser/templates/filebrowser/custom_field.html b/filebrowser/templates/filebrowser/custom_field.html index 7c17fb4c..61ed0f04 100644 --- a/filebrowser/templates/filebrowser/custom_field.html +++ b/filebrowser/templates/filebrowser/custom_field.html @@ -1,5 +1,5 @@ {% load fb_versions %} - + {% ifequal value.filetype "Image" %} diff --git a/filebrowser/templates/filebrowser/include/breadcrumbs.html b/filebrowser/templates/filebrowser/include/breadcrumbs.html index c847e7be..82d30629 100644 --- a/filebrowser/templates/filebrowser/include/breadcrumbs.html +++ b/filebrowser/templates/filebrowser/include/breadcrumbs.html @@ -5,16 +5,16 @@ {% trans "Home" %} › {% endif %} {% if breadcrumbs or breadcrumbs_title %} - {% trans 'FileBrowser' %} › + {% trans 'FileBrowser' %} › {% else %} {% trans 'FileBrowser' %} {% endif %} {% for item in breadcrumbs %} {% if not forloop.last %} - {{ item.0 }} › + {{ item.0 }} › {% else %} {% if breadcrumbs_title %} - {{ item.0 }} › + {{ item.0 }} › {% else %} {{ item.0 }} {% endif %} diff --git a/filebrowser/templates/filebrowser/include/filelisting.html b/filebrowser/templates/filebrowser/include/filelisting.html index c8a04dea..243a24f1 100644 --- a/filebrowser/templates/filebrowser/include/filelisting.html +++ b/filebrowser/templates/filebrowser/include/filelisting.html @@ -1,4 +1,4 @@ -{% load i18n adminmedia fb_tags fb_versions %} +{% load i18n static fb_tags fb_versions %} {% for file in page.object_list %} @@ -53,7 +53,7 @@ {% if file.filetype == "Folder" %} - {{ file.filename }} + {{ file.filename }} {% else %} {{ file.filename }} @@ -69,7 +69,7 @@ {% endif %} {% endcomment %} {% if results_var.images_total and settings_var.ADMIN_VERSIONS and file.filetype == "Image" %} - {% trans 'Versions' %} + {% trans 'Versions' %} {% endif %} {% endif %} @@ -82,16 +82,16 @@ {{ file.datetime|date:"N j, Y" }} - + {% if results_var.delete_total %} {% ifnotequal file.filetype 'Folder' %} - + {% else %} {% if file.is_empty %} - + {% endif %} {% endifnotequal %} diff --git a/filebrowser/templates/filebrowser/include/search.html b/filebrowser/templates/filebrowser/include/search.html index 03c3ddbf..3a147b13 100644 --- a/filebrowser/templates/filebrowser/include/search.html +++ b/filebrowser/templates/filebrowser/include/search.html @@ -1,4 +1,4 @@ -{% load i18n adminmedia fb_tags %} +{% load i18n static fb_tags %}

{% blocktrans count cl.result_count as counter %}1 result{% plural %}{{ counter }} results{% endblocktrans %}

{% blocktrans with cl.full_result_count as full_result_count %}{{ full_result_count }} total{% endblocktrans %} diff --git a/filebrowser/templates/filebrowser/include/toolbar.html b/filebrowser/templates/filebrowser/include/toolbar.html index ed533a2f..8bd3f647 100644 --- a/filebrowser/templates/filebrowser/include/toolbar.html +++ b/filebrowser/templates/filebrowser/include/toolbar.html @@ -1,4 +1,4 @@ -{% load i18n adminmedia fb_tags %} +{% load i18n static fb_tags %}