summaryrefslogtreecommitdiffstats
path: root/module/web/templates
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-02 13:44:26 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-08-02 13:44:26 +0200
commita5fddf6006f69a2540fa002bed125e9b90d1be08 (patch)
treefc13678169f184a1a6b1ffe4088790ed5addfb14 /module/web/templates
parentreconnect fix (diff)
downloadpyload-a5fddf6006f69a2540fa002bed125e9b90d1be08.tar.xz
settings fix
Diffstat (limited to 'module/web/templates')
-rw-r--r--module/web/templates/default/settings.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/module/web/templates/default/settings.html b/module/web/templates/default/settings.html
index 07c87a936..d9aef5303 100644
--- a/module/web/templates/default/settings.html
+++ b/module/web/templates/default/settings.html
@@ -1,5 +1,6 @@
{% extends 'default/base.html' %}
{% load i18n %}
+{% load contains %}
{% block title %}{% trans "Config" %} - {{block.super}} {% endblock %}
{% block subtitle %}{% trans "Config" %}{% endblock %}
@@ -49,7 +50,7 @@
<option {% if not option.value %} selected="selected" {% endif %}value="False">{% trans "off" %}</option>
</select>
{% else %}
- {% if ";" in option.typ %}
+ {% if option.typ|contains:";" %}
<select id="{{skey}}|{{okey}}" name="{{skey}}|{{okey}}">
{% for entry in option.list %}
<option {% ifequal option.value entry %} selected="selected" {% endifequal %}>{{entry}}</option>