{% load custom_filters %} {% load html_components %}
  • {% if application.priority and application.priority <= 5 %}
    Priority:
    {{application.priority}}
    {% endif %} {% if studentStatus == 'PRE' %}
    {{application|student_status|minify}}
    {% elif professorStatus == 'OFFR' %}
    {{application|professor_status|minify}}
    {% endif %}
    {{application.project.title}} by {{application.project.professor.first_name}} {{application.project.professor.last_name}}
    {% if application.student.username != user.username %} {{application.student.first_name}} {{application.student.last_name}} applied {%else%} You applied {% endif %} on {{application.date_created|date:"DATE_FORMAT"}} {% if application.group_members.all|length > 0 %}
    with {{application.group_members.all|name_list}} {% endif %} {% if application.student.username != user.username %} {% endif %}
    {% if professorStatus != 'NONE' %} {{application.project.professor.first_name}} {{application.project.professor.last_name}} {% if professorStatus == 'OFFR' %} offered you this project. {% elif professorStatus == 'DECL' %} declined this application. {% elif professorStatus == 'RETR' %} retracted this offer. {% endif %}
    {% endif %} {% if professorStatus == 'OFFR'%} {% if studentStatus == 'ACC' %} You accepted this project.
    {% elif studentStatus == 'DECL' %} You declined this project.
    {% endif %} {% endif %} {% if studentStatus == 'RETR' %} You retracted this application.
    {% endif %} {% if application.student.username == user.username %} {% if checkbox %} Automatically accept offer:
    {% elif responses %} {% endif %} {% if professorStatus != 'OFFR' and not application|is_closed %}
    {% endif %} {% endif %}
    {% comment %}Description: {{application.project.description}}
    {% endcomment %} {{application.message}}
    {% application_comment_section application.id comments comment_box=True %}