diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-09 23:29:24 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-03-09 23:29:24 +0100 |
commit | aa78d90803a68e41ea663adb623c859cae3ad91e (patch) | |
tree | c793e30df9fccdf350fcd299e70fb3c14fabc36a /module/web/templates/default/downloads.html | |
parent | captcha manager fix, toggle reconnect (diff) | |
download | pyload-aa78d90803a68e41ea663adb623c859cae3ad91e.tar.xz |
new config page, mootools 1.3, removed old templates
Diffstat (limited to 'module/web/templates/default/downloads.html')
-rw-r--r-- | module/web/templates/default/downloads.html | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/module/web/templates/default/downloads.html b/module/web/templates/default/downloads.html index eeb73e151..813dc8d06 100644 --- a/module/web/templates/default/downloads.html +++ b/module/web/templates/default/downloads.html @@ -1,51 +1,48 @@ {% extends 'default/base.html' %} -{% load i18n %} -{% block title %}Downloads - {{block.super}} {% endblock %} +{% block title %}Downloads - {{super()}} {% endblock %} {% block menu %} <li> - <a href="/" title=""><img src="{{ MEDIA_URL }}img/head-menu-home.png" alt="" /> {% trans "Home" %}</a> + <a href="/" title=""><img src="/media/default/img/head-menu-home.png" alt="" /> {{_("Home")}}</a> </li> <li> - <a href="/queue/" title=""><img src="{{ MEDIA_URL }}img/head-menu-queue.png" alt="" /> {% trans "Queue" %}</a> + <a href="/queue/" title=""><img src="/media/default/img/head-menu-queue.png" alt="" /> {{_("Queue")}}</a> </li> <li> - <a href="/collector/" title=""><img src="{{ MEDIA_URL }}img/head-menu-collector.png" alt="" /> {% trans "Collector" %}</a> + <a href="/collector/" title=""><img src="/media/default/img/head-menu-collector.png" alt="" /> {{_("Collector")}}</a> </li> <li class="selected"> - <a href="/downloads/" title=""><img src="{{ MEDIA_URL }}img/head-menu-development.png" alt="" /> {% trans "Downloads" %}</a> + <a href="/downloads/" title=""><img src="/media/default/img/head-menu-development.png" alt="" /> {{_("Downloads")}}</a> </li> <li class="right"> - <a href="/logs/" class="action index" accesskey="x" rel="nofollow"><img src="{{ MEDIA_URL }}img/head-menu-index.png" alt="" />{% trans "Logs" %}</a> + <a href="/logs/" class="action index" accesskey="x" rel="nofollow"><img src="/media/default/img/head-menu-index.png" alt="" />{{_("Logs")}}</a> </li> <li class="right"> - <a href="/settings/" class="action index" accesskey="x" rel="nofollow"><img src="{{ MEDIA_URL }}img/head-menu-config.png" alt="" />{% trans "Config" %}</a> + <a href="/settings/" class="action index" accesskey="x" rel="nofollow"><img src="/media/default/img/head-menu-config.png" alt="" />{{_("Config")}}</a> </li> {% endblock %} {% block subtitle %} -{% trans "Downloads" %} +{{_("Downloads")}} {% endblock %} {% block content %} -{% trans "Do not transfer downloaded files more than 10Mb in size via webinterface to external location, because it can result in high system load." %} - <ul> {% for folder in files.folder %} <li> {{ folder.name }} <ul> {% for file in folder.files %} - <li><a href='{% url download 'get/' %}{{ folder.path|urlencode }}/{{ file|urlencode }}'>{{file}}</a></li> + <li><a href='get/{{ folder.path|escape }}/{{ file|escape }}'>{{file}}</a></li> {% endfor %} </ul> </li> {% endfor %} {% for file in files.files %} - <li> <a href={% url download 'get/' %}{{ file|urlencode }}>{{ file }}</a></li> + <li> <a href='get/{{ file|escape }}'>{{ file }}</a></li> {% endfor %} </ul> |