{% extends "frog/email.html" %}

{% block content %}
{% if error %}
<p>The video failed to process:</p>
<pre>{{ error }}</pre>
<p>The site administrators have also been sent an error report and we have top men on it.</p>
{% else %}
<p>Your video has finished processing!</p>
<a href='{{SITE_URL}}/v/0/{{video.guid}}'>
    <img src="{{SITE_URL}}{{video.thumbnail.url}}" {% if video.width > video.height %}width="200"{% else %}height="200"{% endif %} />
</a>
{% endif %}
{% endblock %}

{% block footer %}
<a href="{{SITE_URL}}/v/0/{{video.guid}}" class="btn-primary" itemprop="url" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background: #348eda; margin: 0; border-color: #348eda; border-style: solid; border-width: 10px 20px;">View Video</a>
{% endblock %}