{% 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: 10px solid #005686;
                    border-bottom: 10px solid #005686;
                    border-right: 16px solid #005686;
                    border-left: 16px 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>
        </td>
    </tr>
</table>
{% endblock %}
