diff --git a/boxoffice/templates/layout_email.html.jinja2 b/boxoffice/templates/layout_email.html.jinja2 index 6a50ca29..1d708fe4 100644 --- a/boxoffice/templates/layout_email.html.jinja2 +++ b/boxoffice/templates/layout_email.html.jinja2 @@ -371,7 +371,6 @@ .invoice-header > p { font-size: 18px; font-weight: 600; - margin-top: 32px; margin-bottom: 0 !important; font-variant: all-small-caps; } @@ -379,7 +378,6 @@ margin-bottom: 4px !important; } .invoice-label > p:first-child { - margin-top: 16px; font-size: 14px; font-weight: 600; color: #4d576398; @@ -400,10 +398,9 @@ } .order-summary > th { font-size: 14px; - line-height: 24px; + line-height: 40px; font-variant: all-small-caps; font-weight: 600; - padding: 8px 0; border-bottom: 1px solid #656565; } .order-description { @@ -411,10 +408,8 @@ } .order-description > p:first-child { font-weight: 600; - margin-top: 16px; } .base-price { - padding-top: 16px; font-weight: 600; } .total-price > p { @@ -422,11 +417,14 @@ font-variant: all-small-caps; font-size: 21px !important; } - .receipt-title { - padding-bottom: 16px; + .receipt-title > h1 { + line-height: 52px; + } + .receipt-subtitle > p { + line-height: 36px; } - .receipt-subtitle { - padding-top: 8px; + .item-description-container { + border-bottom: 1px solid #1f2d3d; } .item-description > p { margin-top: 0; @@ -439,6 +437,12 @@ font-size: 14px; padding-bottom: 16px; } + .linebreak { + line-height: 16px; + } + .double_linebreak { + line-height: 24px; + } diff --git a/boxoffice/templates/macros_email.html.jinja2 b/boxoffice/templates/macros_email.html.jinja2 index 11fa7297..636260f4 100644 --- a/boxoffice/templates/macros_email.html.jinja2 +++ b/boxoffice/templates/macros_email.html.jinja2 @@ -20,9 +20,9 @@ {% endmacro %} -{% macro line_break() %} +{% macro line_break(ln_break) %} - +
diff --git a/boxoffice/templates/payment_receipt.html.jinja2 b/boxoffice/templates/payment_receipt.html.jinja2 index 1dff2f57..09a25028 100644 --- a/boxoffice/templates/payment_receipt.html.jinja2 +++ b/boxoffice/templates/payment_receipt.html.jinja2 @@ -1,7 +1,6 @@ {%- extends "layout_email.html.jinja2" -%} {%- from "macros_email.html.jinja2" import cta_button, line_break -%} {%- block content -%} -

@@ -23,6 +22,8 @@ + {{ line_break(gettext('double_linebreak')) }} +

{{ org.details.get('name') }}

@@ -37,6 +38,7 @@
+ {{ line_break(gettext('linebreak')) }} {%- if org.details %} + {{ line_break(gettext('linebreak')) }}
@@ -46,6 +48,7 @@

{{ org.details.get('address')|safe }}

@@ -63,6 +66,7 @@

{%- if org.details %} + {{ line_break(gettext('linebreak')) }} {%- endif %} + {{ line_break(gettext('linebreak')) }} + {{ line_break(gettext('double_linebreak')) }} +

@@ -72,6 +76,7 @@

@@ -90,6 +95,8 @@

@@ -106,6 +113,7 @@

+ {{ line_break(gettext('linebreak')) }} + {{ line_break(gettext('linebreak')) }}

@@ -114,6 +122,7 @@

{{ order.buyer_fullname }}

@@ -130,6 +139,7 @@

+ {{ line_break(gettext('linebreak')) }} + {{ line_break(gettext('linebreak')) }} + {{ line_break(gettext('linebreak')) }} + + {{ line_break(gettext('linebreak')) }} + {{ line_break(gettext('linebreak')) }} {% for line_item in line_items -%} - + - - - + {{ line_break(gettext('linebreak')) }} - {{ line_break() }} + {{ line_break(gettext('linebreak')) }} - {{ line_break() }} + {{ line_break(gettext('linebreak')) }}

{%- trans %}Paid on{% endtrans -%} @@ -137,6 +147,7 @@

{{ order.paid_at | longdate }}

@@ -155,6 +166,8 @@

@@ -162,6 +175,7 @@

{%- trans %}Item{% endtrans -%} @@ -170,6 +184,7 @@ {%- trans %}Price{% endtrans -%}
@@ -179,12 +194,10 @@

{{ currency_symbol }} {{ line_item.base_amount }}

{{ line_item.ticket.description| safe}}


@@ -224,6 +237,7 @@ {%- endfor %} {%- if order.refunded_amount %} + {{ line_break(gettext('double_linebreak')) }}

@@ -309,7 +323,7 @@

{%- endif %} - {{ line_break() }} + {{ line_break(gettext('linebreak')) }}

@@ -317,14 +331,14 @@

{{ cta_button('{base_url}/order/{access_token}/ticket'.format(base_url=base_url, access_token=order.access_token), gettext("Assign ticket"), gettext("primary") )}} {{ cta_button('{base_url}/order/{access_token}/invoice'.format(base_url=base_url, access_token=order.access_token), gettext("GST invoice"), gettext("dark") )}}