def _rated(review):
  """Returns the HTML-formatted rating, if present."""
  if review.type_ == "Renewal":
    # These don't include a rating, so we don't show anything
    return ""
  return '<p>Rated "%s."' % review.comparison