{% load i18n %}{% if user.first_name %}{% blocktrans trimmed with first_name=user.first_name last_name=user.last_name %}Dear {{first_name}}, {% endblocktrans %}{% elif user.email %}{% blocktrans trimmed with email=user.email %}Dear {{email}}, {% endblocktrans %}{% else %}{% blocktrans trimmed with username=user.username %}Dear {{username}}, {% endblocktrans %}{% endif %}
{% if approved %}
{% blocktrans with course_identifier=course.identifier course_uri=course_uri %}Welcome! Your request to join the course '{{course_identifier}}' has been approved.
Find the course web page here:
{{ course_uri }}
Welcome, and we hope you have a productive class!{% endblocktrans %}
{% else %}
{% blocktrans with course_identifier=course.identifier %}We're sorry to let you know that your request to join the course '{{course_identifier}}' has been denied. Please get in touch with the course staff (for example by replying to this email) to state your case.
One common reason for this may be that you may have used your personal email (such as a GMail or Yahoo account) rather than your official university account to sign in. If that is the case, please use the official account and try again.{% endblocktrans %}
{% endif %}

{% blocktrans %}- RELATE staff {% endblocktrans %}
