@register.inclusion_tag(u'reviews/comment_issue.html', takes_context=True)
def comment_issue(context, review_request, comment, comment_type):
 issue_status = BaseComment.issue_status_to_string(comment.issue_status)
 user = context.get(u'user', None)
 return {u'comment': comment, u'comment_type': comment_type, u'issue_status': issue_status, u'review': comment.get_review(), u'interactive': comment.can_change_issue_status(user)}

@ register . inclusion_tag ( u'reviews/comment_issue.html' , takes_context = True ) def comment_issue ( context , review_request , comment , comment_type ) : issue_status = BaseComment . issue_status_to_string ( comment . issue_status ) user = context . get ( u'user' , None ) return { u'comment' : comment , u'comment_type' : comment_type , u'issue_status' : issue_status , u'review' : comment . get_review ( ) , u'interactive' : comment . can_change_issue_status ( user ) }
renders the code responsible for handling comment issue statuses .