{% extends 'schedules/edx_ace/common/base_body.html' %}
{% load i18n %}

{% block preview_text %}
    {% if course_ids|length > 1 %}
        {% blocktrans trimmed %}
            Remember when you enrolled in {{ course_name }}, and other courses on edX.org? We do, and we’re glad
            to have you! Come see what everyone is learning.
        {% endblocktrans %}
    {% else %}
        {% blocktrans trimmed %}
            Remember when you enrolled in {{ course_name }} on edX.org? We do, and we’re glad
            to have you! Come see what everyone is learning.
        {% endblocktrans %}
    {% endif %}
{% endblock %}

{% block content %}
<table width="100%" align="left" border="0" cellpadding="0" cellspacing="0" role="presentation">
    <tr>
        <td>
            <h1>{% trans "Keep learning today" %}.</h1>

            <p>
                {% if course_ids|length > 1 %}
                    {% blocktrans trimmed %}
                        Remember when you enrolled in <strong>{{ course_name }}</strong>, and other courses on edX.org? We do, and we’re glad
                        to have you! Come see what everyone is learning.
                    {% endblocktrans %}
                {% else %}
                    {% blocktrans trimmed %}
                        Remember when you enrolled in <strong>{{ course_name }}</strong> on edX.org? We do, and we’re glad
                        to have you! Come see what everyone is learning.
                    {% endblocktrans %}
                {% endif %}
            </p>

            <p>
                {# email client support for style sheets is pretty spotty, so we have to inline all of these styles #}
                <a
                {% if course_ids|length > 1 %}
                    href="{{ dashboard_url }}"
                {% else %}
                    href="{{ course_url }}"
                {% endif %}
                style="
                    color: #ffffff;
                    text-decoration: none;
                    border-radius: 4px;
                    -webkit-border-radius: 4px;
                    -moz-border-radius: 4px;
                    background-color: #005686;
                    border-top: 12px solid #005686;
                    border-bottom: 12px solid #005686;
                    border-right: 50px solid #005686;
                    border-left: 50px solid #005686;
                    display: inline-block;
                ">
                    {# old email clients require the use of the font tag :( #}
                    <font color="#ffffff"><b>{% trans "Start learning now" %}</b></font>
                </a>
            </p>
            {% if show_upsell %}
                <p>
                    {% blocktrans trimmed %}
                        Don't miss the opportunity to highlight your new knowledge and skills by earning a verified
                        certificate. Upgrade by {{ user_schedule_upgrade_deadline_time }}.
                    {% endblocktrans %}
                </p>
                <p>
                    <a href="{{ upsell_link }}"
                       style="
                        color: #1e8142;
                        text-decoration: none;
                        border-radius: 4px;
                        -webkit-border-radius: 4px;
                        -moz-border-radius: 4px;
                        background-color: #FFFFFF;
                        border: 3px solid #1e8142;
                        display: inline-block;
                        padding: 8px 65px;
                        ">
                        <font color="#1e8142"><b>{% trans "Upgrade Now" %}</b></font>
                    </a>
                </p>
            {% endif %}
        </td>
    </tr>
</table>
{% endblock %}
