diff --git a/cps/templates/admin.html b/cps/templates/admin.html index b7d23db12..1d038393e 100644 --- a/cps/templates/admin.html +++ b/cps/templates/admin.html @@ -144,7 +144,7 @@ +
+ + +
diff --git a/cps/templates/http_error.html b/cps/templates/http_error.html index 8078d32ca..3f7f73f7e 100644 --- a/cps/templates/http_error.html +++ b/cps/templates/http_error.html @@ -12,7 +12,7 @@ - {% if g.user.get_theme == 1 %} + {% if g.current_theme == 1 %} {% endif %} diff --git a/cps/templates/index.html b/cps/templates/index.html index 29b9faf6b..1df6e62e3 100755 --- a/cps/templates/index.html +++ b/cps/templates/index.html @@ -47,7 +47,7 @@
{% endif %}
-

{{title}}

+

{{_(title)}}

{% if entries[0] %} {% for entry in entries %} diff --git a/cps/templates/layout.html b/cps/templates/layout.html index 558cad1ab..5a3406722 100644 --- a/cps/templates/layout.html +++ b/cps/templates/layout.html @@ -12,7 +12,7 @@ - {% if g.user.get_theme == 1 %} + {% if g.current_theme == 1 %} {% endif %} @@ -240,7 +240,7 @@ - {% if g.user.get_theme == 1 %} + {% if g.current_theme == 1 %} diff --git a/cps/templates/list.html b/cps/templates/list.html index 483738e72..b12a068bf 100644 --- a/cps/templates/list.html +++ b/cps/templates/list.html @@ -1,6 +1,6 @@ {% extends "layout.html" %} {% block body %} -

{{title}}

+

{{_(title)}}

{% for entry in entries %} diff --git a/cps/templates/user_edit.html b/cps/templates/user_edit.html index 48630ceac..f43cc36f7 100644 --- a/cps/templates/user_edit.html +++ b/cps/templates/user_edit.html @@ -35,14 +35,6 @@ {% endfor %}
-
- - -
-