def generate_refund_notification_body(student, refund_ids):
 msg = _(u'A refund request has been initiated for {username} ({email}). To process this request, please visit the link(s) below.').format(username=student.username, email=student.email)
 ecommerce_url_root = configuration_helpers.get_value(u'ECOMMERCE_PUBLIC_URL_ROOT', settings.ECOMMERCE_PUBLIC_URL_ROOT)
 refund_urls = [urljoin(ecommerce_url_root, u'/dashboard/refunds/{}/'.format(refund_id)) for refund_id in refund_ids]
 return u'{msg}\n\n{urls}'.format(msg=msg, urls=u'\n'.join(refund_urls))

def generate_refund_notification_body ( student , refund_ids ) : msg = _ ( u'A refund request has been initiated for {username} ({email}). To process this request, please visit the link(s) below.' ) . format ( username = student . username , email = student . email ) ecommerce_url_root = configuration_helpers . get_value ( u'ECOMMERCE_PUBLIC_URL_ROOT' , settings . ECOMMERCE_PUBLIC_URL_ROOT ) refund_urls = [ urljoin ( ecommerce_url_root , u'/dashboard/refunds/{}/' . format ( refund_id ) ) for refund_id in refund_ids ] return u'{msg}\n\n{urls}' . format ( msg = msg , urls = u'\n' . join ( refund_urls ) )
returns a refund notification message body .