@register.filter
def show_reviewers(reviewer_list, arg=None):

  email_list = []
  for reviewer, _approval in reviewer_list.items():
    email = reviewer
    if isinstance(email, users.User):
      email = email.email()
    email_list.append(email)

  links = get_links_for_users(email_list)

  if not arg:
    user = auth_utils.get_current_user()
    if user is not None:
      links[user.email()] = 'me'

  return django.utils.safestring.mark_safe(', '.join(
      format_approval_text(links[r], a) for r, a in reviewer_list.items()))
Render list of links to each reviewer's dashboard with color.
dataset/ETHPy150Open rietveld-codereview/rietveld/codereview/library.py/show_reviewers