From aa78d90803a68e41ea663adb623c859cae3ad91e Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 9 Mar 2011 23:29:24 +0100 Subject: new config page, mootools 1.3, removed old templates --- module/web/templates/default/pathchooser.html | 48 ++++++++++++--------------- 1 file changed, 22 insertions(+), 26 deletions(-) (limited to 'module/web/templates/default/pathchooser.html') diff --git a/module/web/templates/default/pathchooser.html b/module/web/templates/default/pathchooser.html index 6a72214e8..d00637055 100644 --- a/module/web/templates/default/pathchooser.html +++ b/module/web/templates/default/pathchooser.html @@ -1,6 +1,3 @@ -{% load truncate %} -{% load quotepath %} -{% load i18n %} - + - +
- +
- {% ifequal type 'folder' %} - {% trans "Path" %}: {% trans "absolute" %} | {% trans "relative" %} + {% if type == 'folder' %} + {{_("Path")}}: {{_("absolute")}} | {{_("relative")}} {% else %} - {% trans "Path" %}: {% trans "absolute" %} | {% trans "relative" %} - {% endifequal %} + {{_("Path")}}: {{_("absolute")}} | {{_("relative")}} + {% endif %}
- - - - + + + + {% if parentdir %} {% endif %} {% for file in files %} - {% ifequal type 'folder' %} - + {% if type == 'folder' %} + {% else %} - - {% endifequal %} - - - + + {% endif %} + + + -{% empty %} - - - + {% endfor %}
{% trans "name" %}{% trans "size" %}{% trans "type" %}{% trans "last modified" %}{{_("name")}}{{_("size")}}{{_("type")}}{{_("last modified")}}
- {% trans "parent directory" %} + {{_("parent directory")}}
{% ifequal file.type 'dir' %}{{ file.name|truncate:25 }}{% else %}{{ file.name|truncate:25 }}{% endifequal %}{% if file.type == 'dir' %}{{ file.name|truncate(25) }}{% else %}{{ file.name|truncate(25) }}{% endif %}{% ifequal file.type 'dir' %}{{ file.name|truncate:25 }}{% else %}{{ file.name|truncate:25 }}{% endifequal %}{{ file.size|floatformat:-2 }} {{ file.unit }}{% ifequal file.type 'dir' %}directory{% else %}{{ file.ext|default:"file" }}{% endifequal %}{{ file.modified|date:"d.m.Y - H:i:s" }}{% if file.type == 'dir' %}{{ file.name|truncate(25) }}{% else %}{{ file.name|truncate(25) }}{% endif %}{{ file.size|float|filesizeformat }}{% if file.type == 'dir' %}directory{% else %}{{ file.ext|default("file") }}{% endif %}{{ file.modified|date("d.m.Y - H:i:s") }}
{% trans "no content" %}
-- cgit v1.2.3