{% extends "teacheradmin/base_teacheradmin.html" %}
{% load i18n gravatar compress %}
{% block nav-teacheradmin-teachers %}active{% endblock %}
{% block extraheader %}
{% endblock %}
{% block extrajs %}
{% compress js %}
{% endcompress %}
{% endblock %}
{% block section %}
{% trans "Success" %}
{% trans "The teacher has been added to the course or invited." %}
{% trans "Success" %}
{% trans "The teacher has been removed from the course." %}
{% trans "Success" %}
{% trans "The teachers have been reordered." %}
{% trans "Error" %}
{% trans "That teacher doesn't exists. Please, introduce a valid user or an email." %}
{% trans "Error" %}
{% trans "The email introduced has already received an invitation." %}
{% trans "Error" %}
{% trans "Something went wrong, please try again later." %}
{% trans "Current teachers" %}
{% for course_teacher in course_teachers %}
{{ course_teacher.id }} |
|
 |
{% firstof course_teacher.teacher.get_full_name course_teacher.teacher.username %} |
{% if course_teacher.teacher.id == course.owner.id %}
{% trans "Owner" %}
{% else %}
{% if request.user.id == course.owner.id %}
{% endif %}
{% endif %}
|
{% if course_teacher.teacher.id != course.owner.id %}
{% endif %}
|
{% endfor %}
{% if invitations %}
{% trans "Invited teachers who are not registered yet" %}
{% for invitation in invitations %}
{% gravatar_img_for_email invitation.email 20 %} |
{{ invitation.email }} |
|
{% endfor %}
{% endif %}
{% endblock %}