{% 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: .3rem;
                    -webkit-border-radius: .3rem;
                    -moz-border-radius: .3rem;
                    background-color: #005686;
                    border-top: .15rem solid #005686;
                    border-bottom: .15rem solid #005686;
                    border-right: .15rem solid #005686;
                    border-left: .15rem solid #005686;
                    display: inline-block;
                    padding: 1rem 5rem;
                ">
                    {# 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: .3rem;
                        -webkit-border-radius: .3rem;
                        -moz-border-radius: .3rem;
                        background-color: #FFFFFF;
                        border-top: .15rem solid #1e8142;
                        border-bottom: .15rem solid #1e8142;
                        border-right: .15rem solid #1e8142;
                        border-left: .15rem solid #1e8142;
                        display: inline-block;
                        padding: 1rem 6.1rem;
                        ">
                        <font color="#1e8142"><b>{% trans "Upgrade Now" %}</b></font>
                    </a>
                </p>
            {% endif %}
        </td>
    </tr>
</table>
{% endblock %}
