{% load i18n %}

<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: #960909;
        border-top: 12px solid #960909;
        border-bottom: 12px solid #960909;
        border-right: 50px solid #960909;
        border-left: 50px solid #960909;
        display: inline-block;
    ">
        {# old email clients require the use of the font tag :( #}
        <font color="#ffffff"><b>{{ course_cta_text }}</b></font>
    </a>
</p>
