def comments(post, user):\r
return _comments(post, user)\r
\r
def comments(post, user):\r
return _comments(post, user)\r
\r
-@register.inclusion_tag("node/contributors_info.html")\r
-def contributors_info(node, verb=None):\r
+@register.inclusion_tag("node/contributors_info.html", takes_context=True)\r
+def contributors_info(context, node, verb=None):\r
return {\r
'node_verb': verb and verb or ((node.node_type == "question") and _("asked") or (\r
(node.node_type == "answer") and _("answered") or _("posted"))),\r
'node': node,\r
return {\r
'node_verb': verb and verb or ((node.node_type == "question") and _("asked") or (\r
(node.node_type == "answer") and _("answered") or _("posted"))),\r
'node': node,\r
}\r
\r
@register.inclusion_tag("node/reviser_info.html")\r
}\r
\r
@register.inclusion_tag("node/reviser_info.html")\r