app/projrev/views/helpers/templatetags/comments_helpers.py
changeset 25 a6a5e45f68c8
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/app/projrev/views/helpers/templatetags/comments_helpers.py	Mon Aug 10 00:40:47 2009 +0530
@@ -0,0 +1,19 @@
+"""A Django template tag library containing forms helpers.
+"""
+
+__authors__ = [
+  '"Madhusudan.C.S" <madhusudancs@gmail.com>',
+]
+
+
+from django import template
+
+register = template.Library()
+
+
+@register.inclusion_tag('projrev/templatetags/_as_comment.html')
+def as_comment(user):
+  """Prints a user as a hyperlinked link_id.
+  """
+
+  return {'user': user}