From 54969ff6727d98e5d0cd455c6ec5068a56384c76 Mon Sep 17 00:00:00 2001 From: Chibuotu Amadi Date: Tue, 23 Mar 2021 02:53:31 +0100 Subject: [PATCH] alignment work + footer --- .../grants/successful_contribution.html | 53 +------------ .../grants/thank_you_for_supporting.html | 43 +--------- app/retail/templates/emails/template.html | 79 +++++++++++-------- 3 files changed, 52 insertions(+), 123 deletions(-) diff --git a/app/retail/templates/emails/grants/successful_contribution.html b/app/retail/templates/emails/grants/successful_contribution.html index 201df088b3d..df5ada18985 100644 --- a/app/retail/templates/emails/grants/successful_contribution.html +++ b/app/retail/templates/emails/grants/successful_contribution.html @@ -21,30 +21,8 @@ {% block content %}
-
- {% trans -
-
+ {% trans +

{% trans "Your contribution of" %} {{ subscription.amount_per_period|floatformat:3|intcomma }} {{ subscription.token_symbol }} {% trans "to " %} {{ grant.title }} {% trans " was successful" %}!

{% trans "The world of open source is a better place because of you." %} @@ -155,7 +108,7 @@

{% trans "The world of open source is a better


- {% trans "View Grant" %} + {% trans "View Grant" %}

{% trans "If you ever need to, you can cancel your support" %} diff --git a/app/retail/templates/emails/grants/thank_you_for_supporting.html b/app/retail/templates/emails/grants/thank_you_for_supporting.html index 0e50c288a33..153afb5575d 100644 --- a/app/retail/templates/emails/grants/thank_you_for_supporting.html +++ b/app/retail/templates/emails/grants/thank_you_for_supporting.html @@ -21,30 +21,8 @@ {% block content %}

{% for grant_with_subscription in grants_with_subscription %} {% with subscription=grant_with_subscription.subscription grant=grant_with_subscription.grant %}
-
- {% trans -
-
+ {% trans +

{% trans "Thank you for supporting" %} {{ grant.title }}!

{% trans "The world of open source is a better place because of you." %} diff --git a/app/retail/templates/emails/template.html b/app/retail/templates/emails/template.html index a613b785850..7ead71c5653 100644 --- a/app/retail/templates/emails/template.html +++ b/app/retail/templates/emails/template.html @@ -100,7 +100,6 @@ } h4, .h4 { - text-align: center; padding-top: 40px; } @@ -768,8 +767,27 @@ width: 100%; } + #footer { + padding-top: 40px; + color: #757087 !important; + } + .footer-links { - margin: 3em 1.4em; + margin: -53px 0px 110px 20px; + } + + .footer-links div { + width: 25%; + float: left; + } + + .footer-links div img { + float: right; + } + + .footer-socials { + width: 3em; + height: auto; } } @@ -798,8 +816,28 @@ width: 90%; } + #footer { + padding-top: 40px; + margin: 0px 180px 0px 180px; + color: #757087 !important; + } + .footer-links { - margin: auto; + margin: -53px 0px 110px 0px; + } + + .footer-links div { + width: 25%; + float: left; + } + + .footer-links div img { + float: right; + } + + .footer-socials { + width: 3em; + height: auto; } } @@ -813,29 +851,6 @@ margin: 0.5em auto 0.5em auto; } - #footer { - color: #757087 !important; - } - - .footer-links { - max-width: 800px; - text-align: justify; - /* margin: auto; */ - margin-top: 3em; - margin-bottom: 2em; - } - - .footer-links:after { - content: ""; - display: inline-block; - width: 100%; - } - - .footer-socials { - width: 3em; - height: auto; - } - .bounties-img { max-width: 20em; height: auto; @@ -852,17 +867,17 @@ {% endblock %}