@register.inclusion_tag(u'reviews/review_reply_section.html', takes_context=True)
def reply_section(context, review, comment, context_type, context_id, reply_to_text=u''):
 if (comment != u''):
  if (type(comment) is ScreenshotComment):
   context_id += u's'
  elif (type(comment) is FileAttachmentComment):
   context_id += u'f'
  elif (type(comment) is GeneralComment):
   context_id += u'g'
  context_id += six.text_type(comment.id)
 return {u'review': review, u'comment': comment, u'context_type': context_type, u'context_id': context_id, u'user': context.get(u'user', None), u'local_site_name': context.get(u'local_site_name'), u'reply_to_is_empty': (reply_to_text == u''), u'request': context[u'request']}

@ register . inclusion_tag ( u'reviews/review_reply_section.html' , takes_context = True ) def reply_section ( context , review , comment , context_type , context_id , reply_to_text = u'' ) : if ( comment != u'' ) : if ( type ( comment ) is ScreenshotComment ) : context_id += u's' elif ( type ( comment ) is FileAttachmentComment ) : context_id += u'f' elif ( type ( comment ) is GeneralComment ) : context_id += u'g' context_id += six . text_type ( comment . id ) return { u'review' : review , u'comment' : comment , u'context_type' : context_type , u'context_id' : context_id , u'user' : context . get ( u'user' , None ) , u'local_site_name' : context . get ( u'local_site_name' ) , u'reply_to_is_empty' : ( reply_to_text == u'' ) , u'request' : context [ u'request' ] }
renders a template for displaying a reply .