diff --git a/bothub/authentication/templates/authentication/emails/welcome.html b/bothub/authentication/templates/authentication/emails/welcome.html index 751e5924d..ceebec550 100644 --- a/bothub/authentication/templates/authentication/emails/welcome.html +++ b/bothub/authentication/templates/authentication/emails/welcome.html @@ -3,16 +3,14 @@ {% load staticfiles i18n %} {% block before-content %} - - - {% trans 'Welcome to Bothub' %} -

{% trans 'Welcome to Bothub' %}

- - +
+ {% trans 'Welcome to Bothub' %} +

{% trans 'Welcome to Bothub' %}

+
{% endblock %} {% block main-content %} -

{% blocktrans %}Hello, {{ name }}!{% endblocktrans %}

+

{% blocktrans %}Hello, {{ name }}!{% endblocktrans %}

{% trans 'You\'ve successfully signed up for Bothub and now you can start creating, improving and translating bots on the platform.' %}

{% trans 'We are happy to have you with us and hope you enjoy Bothub.' %}

{% endblock %} diff --git a/bothub/common/templates/bothub/emails/base.html b/bothub/common/templates/bothub/emails/base.html index 2d4805b75..85c2fa2bc 100644 --- a/bothub/common/templates/bothub/emails/base.html +++ b/bothub/common/templates/bothub/emails/base.html @@ -1,68 +1,49 @@ {% load staticfiles i18n %} - - + + - -
- - - - -
- - {% block content %} - - - - {% block before-content %}{% endblock %} - - - - {% block after-content %}{% endblock %} - {% endblock %} - - - -
- - Bothub - -
- {% block main-content %}{% endblock %} -
- - - - - -
- - {% if cancel_subscription_url %}
{% blocktrans %}You can cancel your e-mail subscription here.{% endblocktrans %}
{% endif %} -
- - - - - - -
- - Facebook - -   - - LinkedIn - -
-
-
-
+ +
+
+
+ {% block content %} + + Bothub + + {% endblock %} +
{% block before-content %}{% endblock %}
+
+ {% block main-content %}{% endblock %} +
+
{% block after-content %}{% endblock %}
+
+
+
+ + {% if cancel_subscription_url %} +
{% blocktrans %}You can cancel your e-mail subscription + here.{% endblocktrans %}
{% endif %} +
+
+ +
+
+
- + \ No newline at end of file diff --git a/bothub/common/templates/common/emails/new_request.html b/bothub/common/templates/common/emails/new_request.html index 837fd29d0..67bc9a777 100644 --- a/bothub/common/templates/common/emails/new_request.html +++ b/bothub/common/templates/common/emails/new_request.html @@ -3,26 +3,22 @@ {% load i18n staticfiles %} {% block before-content %} - - - {% trans 'New Authorization Request' %} -

{% trans 'New Authorization Request' %}

- - +
+ {% trans 'New Authorization Request' %} +

{% trans 'New Authorization Request' %}

+
{% endblock %} {% block main-content %}

{% blocktrans %}You receive new authorization request from {{ user_name }} to repository {{ repository_name }}.{% endblocktrans %}

-
{{ text }}
-
{{ user_name }}
+
{{ text }}
+
{{ user_name }}
{% endblock %} {% block after-content %} {% if repository_url %} - - -

Access {{ repository_name }}

- - +
+ Access {{ repository_name }} +
{% endif %} {% endblock %} diff --git a/bothub/common/templates/common/emails/new_role.html b/bothub/common/templates/common/emails/new_role.html index ef441605d..62df21a5e 100644 --- a/bothub/common/templates/common/emails/new_role.html +++ b/bothub/common/templates/common/emails/new_role.html @@ -11,10 +11,8 @@ {% block after-content %} {% if repository_url %} - - -

Access {{ repository_name }}

- - +
+ Access {{ repository_name }} +
{% endif %} {% endblock %} diff --git a/bothub/common/templates/common/emails/request_approved.html b/bothub/common/templates/common/emails/request_approved.html index 3dc6d6b0c..a5b76cf16 100644 --- a/bothub/common/templates/common/emails/request_approved.html +++ b/bothub/common/templates/common/emails/request_approved.html @@ -3,12 +3,10 @@ {% load i18n staticfiles %} {% block before-content %} - - - {% trans 'Authorization Request Approved' %} +
+ {% trans 'Authorization Request Approved' %}

{% trans 'Authorization Request Approved' %}

- - +
{% endblock %} {% block main-content %} @@ -17,10 +15,8 @@

{% trans 'Authorization Request Approved' %}

{% block after-content %} {% if repository_url %} - - -

Access {{ repository_name }}

- - +
+ Access {{ repository_name }} +
{% endif %} {% endblock %}