From bb801f2bbd9f26bebca846b71e8947a1951f86a5 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Fri, 10 Jul 2009 19:11:34 -0400 Subject: english translation --- templates/users.html | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'templates/users.html') diff --git a/templates/users.html b/templates/users.html index 16a83b21..701dbaa2 100644 --- a/templates/users.html +++ b/templates/users.html @@ -1,9 +1,12 @@ + {% extends "base_content.html" %} {% load extra_tags %} {% load humanize %} -{% block title %}{% spaceless %}用户列表{% endspaceless %}{% endblock %} +{% load i18n %} +{% block title %}{% spaceless %}{% trans "Users" %}{% endspaceless %}{% endblock %} {% block forejs %} {% endblock %} {% block content %}
-
用户列表
+
{% trans "Users" %}

{% if suser %} - 匹配查询 '{{ suser }}' 的所有用户名: + {% blocktrans %}users matching query {{suser}}:{% endblocktrans %} {% endif %} {% if not users.object_list %} - 没有找到相关数据。 + {% trans "Nothing found." %} {% endif %}

@@ -67,4 +69,5 @@
{% cnprog_paginator context %}
-{% endblock %} \ No newline at end of file +{% endblock %} + -- cgit v1.2.3-1-g7c22 From 5b45e526c74faf55110ff0afdcba19797d7e0f4d Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Fri, 10 Jul 2009 19:14:09 -0400 Subject: deleted all --- templates/users.html | 73 ---------------------------------------------------- 1 file changed, 73 deletions(-) delete mode 100644 templates/users.html (limited to 'templates/users.html') diff --git a/templates/users.html b/templates/users.html deleted file mode 100644 index 701dbaa2..00000000 --- a/templates/users.html +++ /dev/null @@ -1,73 +0,0 @@ - -{% extends "base_content.html" %} -{% load extra_tags %} -{% load humanize %} -{% load i18n %} -{% block title %}{% spaceless %}{% trans "Users" %}{% endspaceless %}{% endblock %} -{% block forejs %} - -{% endblock %} -{% block content %} - -
-

- {% if suser %} - {% blocktrans %}users matching query {{suser}}:{% endblocktrans %} - {% endif %} - - {% if not users.object_list %} - {% trans "Nothing found." %} - {% endif %} -

-
- - - - - -
- {% for user in users.object_list %} - -
- -
- - {% if forloop.counter|divisibleby:"7" %} -
- {% endif %} - - {% endfor %} -
-
-
-{% endblock %} -{% block tail %} -
- {% cnprog_paginator context %} -
-{% endblock %} - -- cgit v1.2.3-1-g7c22 From 35b666224a05fbd249b1c51a0a48fb95b246fe9a Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Fri, 10 Jul 2009 19:15:28 -0400 Subject: adding all files again --- templates/users.html | 73 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 templates/users.html (limited to 'templates/users.html') diff --git a/templates/users.html b/templates/users.html new file mode 100644 index 00000000..701dbaa2 --- /dev/null +++ b/templates/users.html @@ -0,0 +1,73 @@ + +{% extends "base_content.html" %} +{% load extra_tags %} +{% load humanize %} +{% load i18n %} +{% block title %}{% spaceless %}{% trans "Users" %}{% endspaceless %}{% endblock %} +{% block forejs %} + +{% endblock %} +{% block content %} + +
+

+ {% if suser %} + {% blocktrans %}users matching query {{suser}}:{% endblocktrans %} + {% endif %} + + {% if not users.object_list %} + {% trans "Nothing found." %} + {% endif %} +

+
+ + + + + +
+ {% for user in users.object_list %} + +
+ +
+ + {% if forloop.counter|divisibleby:"7" %} +
+ {% endif %} + + {% endfor %} +
+
+
+{% endblock %} +{% block tail %} +
+ {% cnprog_paginator context %} +
+{% endblock %} + -- cgit v1.2.3-1-g7c22 From 20a7ce5657bf3d8683bdb4f9b860dbad044fb2f3 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 4 Aug 2009 23:25:57 -0400 Subject: included changes by Adolfo and Chaitanya and found temporary fix for languages --- templates/users.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/users.html') diff --git a/templates/users.html b/templates/users.html index 701dbaa2..966596fc 100644 --- a/templates/users.html +++ b/templates/users.html @@ -1,5 +1,5 @@ - {% extends "base_content.html" %} + {% load extra_tags %} {% load humanize %} {% load i18n %} -- cgit v1.2.3-1-g7c22