Blame view

flaskr/templates/email/run_requested.html 1.46 KB
07c07af5   Antoine Goutenoir   Add an email temp...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{% extends "email/base.html" %}

{% block content %}
<p>
    The run
{% if estimation.run_name %}
    <strong>"{{ estimation.run_name }}"</strong>
{% endif %}
    <code>{{ estimation.public_id }}</code> has been requested.

    It will be
    <strong><a href="{{ estimation.link }}">available here</a></strong>
    when it's done.
</p>

<hr>

cdb991a6   Antoine Goutenoir   Review.
18
{# Styles are embedded in attributes, because that's how it works with emailing. #}
07c07af5   Antoine Goutenoir   Add an email temp...
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67

<table>
    <tbody>
    <tr>
        <td style="padding-right: 30px;">
            Author
        </td>
        <td>
            <pre>{{ estimation.author_name }}</pre>
        </td>
    </tr>
    <tr>
        <td style="padding-right: 30px;">
            {{ estimation.origins_count }}
            Origin{% if estimation.origins_count > 1 %}s{% endif %}
        </td>
        <td>
            <pre>

{{ estimation.origin_addresses | truncate(1024, true, '…') }}
            </pre>
        </td>
    </tr>
    <tr>
        <td style="padding-right: 30px;">
            {{ estimation.destinations_count }}
            Destination{% if estimation.destinations_count > 1 %}s{% endif %}
        </td>
        <td>
            <pre>

{{ estimation.destination_addresses | truncate(1024, true, '…') }}
            </pre>
        </td>
    </tr>
    <tr>
        <td style="padding-right: 30px;">
            Models
        </td>
        <td>
            <pre>

{{ estimation.models_slugs }}
            </pre>
        </td>
    </tr>
    </tbody>
</table>
{% endblock %}