diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-11 12:01:55 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-08-11 12:01:55 +0200 |
commit | 69eb9e649428b930448f496a7a39a9f12bb278bb (patch) | |
tree | 83fc72a5df42c3f384fa06ec19e1554ebf18183a /module/web/templates | |
parent | package finished event (diff) | |
download | pyload-69eb9e649428b930448f496a7a39a9f12bb278bb.tar.xz |
correct order in webif
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/collector.html | 4 | ||||
-rw-r--r-- | module/web/templates/default/queue.html | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/module/web/templates/default/collector.html b/module/web/templates/default/collector.html index 266038af1..613fb824b 100644 --- a/module/web/templates/default/collector.html +++ b/module/web/templates/default/collector.html @@ -106,7 +106,7 @@ document.addEvent("domready", function(){ </li>{% endblock %}
{% block content %}
-{% for id,package in content.iteritems %}
+{% for id,package in content %}
<div id="package_{{id}}" class="package">
<div class="packagename" style="cursor: pointer;">
{{ package.name }}
@@ -118,7 +118,7 @@ document.addEvent("domready", function(){ <img title="{% trans "Push Package to Queue" %}" style="margin-left: -10px" height="12px" src="{{ MEDIA_URL }}img/package_go.png" />
</div>
<div id="children_{{id}}" style="display: none;" class="children">
- {% for lid, child in package.links.iteritems %}
+ {% for lid, child in package.links %}
<div class="child" id="file_{{lid}}">
<span class="child_status">
<img src="/media/default/img/{{child.icon}}" style="width: 12px; height:12px;"/>
diff --git a/module/web/templates/default/queue.html b/module/web/templates/default/queue.html index 2ca25e03d..0c6c021f5 100644 --- a/module/web/templates/default/queue.html +++ b/module/web/templates/default/queue.html @@ -96,7 +96,7 @@ document.addEvent("domready", function(){ </li>{% endblock %}
{% block content %}
-{% for id, package in content.iteritems %}
+{% for id, package in content %}
<div id="package_{{id}}" class="package">
<div class="packagename" style="cursor: pointer;">
{{ package.name }}
@@ -106,7 +106,7 @@ document.addEvent("domready", function(){ <img title="{% trans "Restart Package" %}" style="margin-left: -10px" height="12px" src="{{ MEDIA_URL }}img/arrow_refresh.png" />
</div>
<div id="children_{{id}}" style="display: none;" class="children">
- {% for lid, child in package.links.iteritems %}
+ {% for lid, child in package.links %}
<div class="child" id="file_{{lid}}">
<span class="child_status">
<img src="/media/default/img/{{child.icon}}" style="width: 12px; height:12px;"/>
|