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/badge.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'templates/badge.html') diff --git a/templates/badge.html b/templates/badge.html index 4ffedfa6..d0906918 100644 --- a/templates/badge.html +++ b/templates/badge.html @@ -1,7 +1,9 @@ + {% extends "base_content.html" %} +{% load i18n %} {% load extra_tags %} {% load humanize %} -{% block title %}{% spaceless %}{{ badge.name }}-奖牌{% endspaceless %}{% endblock %} +{% block title %}{% spaceless %}{{ badge.name }} - {% trans "Badge" %}{% endspaceless %}{% endblock %} {% block forejs %} -{% endblock %} -{% block content %} -
- {% trans "Badge" %} -
-
-

-  {{ badge.name }} {{ badge.description }} -

-
- {% if badge.awarded_count %} -

{{ awards|length|intcomma }} - {% trans "The users have been awarded with badges:" %}

- {% endif %} -
-
- {% for award in awards %} -

{{ award.name }} {% get_score_badge_by_details award.rep award.gold award.silver award.bronze %}

- {% endfor %} -
- -
-{% 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/badge.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 templates/badge.html (limited to 'templates/badge.html') diff --git a/templates/badge.html b/templates/badge.html new file mode 100644 index 00000000..d0906918 --- /dev/null +++ b/templates/badge.html @@ -0,0 +1,37 @@ + +{% extends "base_content.html" %} +{% load i18n %} +{% load extra_tags %} +{% load humanize %} +{% block title %}{% spaceless %}{{ badge.name }} - {% trans "Badge" %}{% endspaceless %}{% endblock %} +{% block forejs %} + +{% endblock %} +{% block content %} +
+ {% trans "Badge" %} +
+
+

+  {{ badge.name }} {{ badge.description }} +

+
+ {% if badge.awarded_count %} +

{{ awards|length|intcomma }} + {% trans "The users have been awarded with badges:" %}

+ {% endif %} +
+
+ {% for award in awards %} +

{{ award.name }} {% get_score_badge_by_details award.rep award.gold award.silver award.bronze %}

+ {% endfor %} +
+ +
+{% endblock %} + -- cgit v1.2.3-1-g7c22 From ef8f66ba6c7a22c277c6315df8040365b5684e6c Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Wed, 5 Aug 2009 22:50:08 -0400 Subject: added anonymous posting, per-question subscription and fixes by Pothers and some more, see development.log --- templates/badge.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/badge.html') diff --git a/templates/badge.html b/templates/badge.html index d0906918..029ba0d9 100644 --- a/templates/badge.html +++ b/templates/badge.html @@ -1,5 +1,5 @@ - {% extends "base_content.html" %} + {% load i18n %} {% load extra_tags %} {% load humanize %} -- cgit v1.2.3-1-g7c22