\r
{% if answer_count %}\r
<div class="questions-count" style="color:green">\r
- {{ answer_count }}<span style="color:black;font-size:14px;margin-left:5px">answers</span>\r
+ {{ answer_count }}<span style="color:black;font-size:14px;margin-left:5px">{{ answer_description }}</span>\r
</div>\r
\r
{% endif %}\r
page_title = _("Questions")
answer_count = Answer.objects.filter(deleted=None, parent__in=questions).count()
-
+ answer_description = _("answers")
+
return {
"questions" : questions,
"questions_count" : questions.count(),
"answer_count" : answer_count,
#"tags_autocomplete" : _get_tags_cache_json(),
"list_description": list_description,
+ "answer_description": answer_description,
"base_path" : base_path,
"page_title" : page_title,
}