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

{% block preview_text %}
    {% if course_ids|length > 1 %}
        {% blocktrans trimmed %}
            Many {{ platform_name }} learners are completing more problems every week, and
            participating in the discussion forums. What do you want to do to keep learning?
        {% endblocktrans %}
    {% else %}
        {% blocktrans trimmed %}
            Many {{ platform_name }} learners in {{course_name}} are completing more problems every week, and
            participating in the discussion forums. What do you want to do to keep learning?
        {% endblocktrans %}
    {% endif %}
{% endblock %}

{% block content %}
<table width="100%" align="left" border="0" cellpadding="0" cellspacing="0" role="presentation">
    <tr>
        <td>
            <h1>{% trans "Keep up the momentum!" %}</h1>

            <p>
                {% if course_ids|length > 1 %}
                    {% blocktrans trimmed %}
                        Many edX learners are completing more problems every week, and
                        participating in the discussion forums. What do you want to do to keep learning?
                    {% endblocktrans %}
                {% else %}
                    {% blocktrans trimmed %}
                        Many edX learners in <strong>{{course_name}}</strong> are completing more problems every week, and
                        participating in the discussion forums. What do you want to do to keep 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 "Keep learning" %}</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 %}
