{% extends "base.html" %}

{% load i18n %}
{% load lingua %}


{% block content %}

<td width="62"></td>
<td width="100%">
<table width="100%" border="0" cellpadding="0" cellspacing="0">


    <tr>
        <td>
            <span style="font-family: Arial, Helvetica, sans-serif; font-size:20px; line-height:24px; margin:0; color:#000; font-weight: normal; text-decoration: none; vertical-align: middle;">
                {% trans "deadline.we_remind_you" %}
            </span>
        </td>
    </tr>

    <tr>
        <td height="11"></td>
    </tr>

    <tr>
        <td>
            <a href="{{ who.url }}" style="display: inline-block;">
                <img src="{{ who.avatar_url }}" alt="" width="24" height="24" style="display: inline-block; margin:0 7px 0 0; vertical-align: middle;"/>
            </a>
            <a href="{{ who.url }}" style="font-family: Arial, Helvetica, sans-serif; font-size:18px; line-height:24px; margin:0; color:#000; font-weight: normal; text-decoration: none; vertical-align: middle;">{{ who.get_full_name|username }}</a>
        </td>
    </tr>

    <tr>
        <td height="11"></td>
    </tr>

    <tr>
        <td>
            <span style="font-family: Arial, Helvetica, sans-serif; font-size:20px; line-height:24px; margin:0; color:#000; font-weight: normal; text-decoration: none; vertical-align: middle;">
                {% trans "deadline.expects_feedback_for" %}
            </span>
        </td>
    </tr>

    <tr>
        <td height="11"></td>
    </tr>

    {% for person in persons %}
    <tr>
        <td>
            <nobr>
                <a href="{{ person.url }}" style="display: inline-block; vertical-align: middle;">
                    <img src="{{ person.avatar_url }}" alt="" width="24" height="24" style="display: block; margin:0 3px 10px 0;"/>
                </a>

                <p style="font-family: Arial, Helvetica, sans-serif; font-size:20px; line-height:24px; margin:0 4px 10px 0; color:#000; font-weight: normal; text-decoration: none; display: inline-block; vertical-align: middle;">
                    <a href="{{ person.url }}" style="font-family: Arial, Helvetica, sans-serif; font-size:18px; line-height:24px; margin:0; color:#000; font-weight: normal; text-decoration: none;">
                        {% if mail_template_language == 'ru'%}{{ person|inflate_name_acc|username }}{% else %}{{ person|username }}{% endif %}</a>
                </p>
            </nobr>
        </td>
    </tr>
    {% endfor %}

    <tr>
        <td>
            <p style="font-family: Arial, Helvetica, sans-serif; font-size:20px; line-height:24px; margin:0; color:#000; font-weight: normal; text-decoration: none;">
                    {% trans "deadline.until" %} {{ date }}
            </p>
        </td>
    </tr>

    <tr>
        <td>
            <p style="font-family: Arial, Helvetica, sans-serif; font-size:18px; line-height:24px; margin:33px 0 0; color:#4444bb; font-weight: normal; text-decoration: none;">
                <a href="{{ link }}" style="font-family: Arial, Helvetica, sans-serif; font-size:18px; line-height:24px; margin:0; color:#4444bb; font-weight: normal; text-decoration: none;">
                    {% trans "request.write_feedback" %}
                </a>
            </p>
        </td>
    </tr>

    <tr>
        <td>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                    <td width="50%" valign="top">
                        {% include "_common_links.html" %}
                    </td>
                    <td width="50%" valign="top"></td>
                </tr>
            </table>
        </td>
    </tr>


</table>
<td width="62"></td>

{% endblock %}
