diff options
author | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-09-20 15:21:53 -0600 |
---|---|---|
committer | Adolfo Fitoria <adolfo.fitoria@gmail.com> | 2012-09-20 15:21:53 -0600 |
commit | 5a3167df967f982e650faebf9e7de8de9abdfebe (patch) | |
tree | 9b12a30cb6d73e43c53fe945b5d3beca1d44ba40 | |
parent | d63b9bb5c5e4d0d1190e022ec9c67577438de20a (diff) | |
download | askbot-5a3167df967f982e650faebf9e7de8de9abdfebe.tar.gz askbot-5a3167df967f982e650faebf9e7de8de9abdfebe.tar.bz2 askbot-5a3167df967f982e650faebf9e7de8de9abdfebe.zip |
fixing email styles
-rw-r--r-- | askbot/skins/default/templates/email/base_mail.html | 4 | ||||
-rw-r--r-- | askbot/skins/default/templates/email/instant_notification.html | 3 | ||||
-rw-r--r-- | askbot/skins/default/templates/email/macros.html | 15 |
3 files changed, 12 insertions, 10 deletions
diff --git a/askbot/skins/default/templates/email/base_mail.html b/askbot/skins/default/templates/email/base_mail.html index dfd252f2..eacbf87d 100644 --- a/askbot/skins/default/templates/email/base_mail.html +++ b/askbot/skins/default/templates/email/base_mail.html @@ -143,10 +143,10 @@ </tr> <tr> <td valign="top"> - <table border="0" align="center" cellspacing="0" cellpadding="0" style="background-color: #fff;" width=80%> + <table border="0" align="center" cellspacing="0" cellpadding="0" style="background-color: #fff;" width=90%> <tr> <td valign="top"> - <table border="0" align="center" cellspacing="0" cellpadding="0" width=80%> + <table border="0" align="center" cellspacing="0" cellpadding="0" width=95%> <tr> <td valign="top"> <h1>{%block headline%}{%endblock%}</h1> diff --git a/askbot/skins/default/templates/email/instant_notification.html b/askbot/skins/default/templates/email/instant_notification.html index 3e8533b6..d353450d 100644 --- a/askbot/skins/default/templates/email/instant_notification.html +++ b/askbot/skins/default/templates/email/instant_notification.html @@ -4,7 +4,8 @@ {{ reply_separator }} <div>{{ content_preview }}</div> {% trans %} -<p>Please note - you can easily <a href="{{user_subscriptions_url}}">change</a> +<p style="font-size:10px; font-style:italic;"> +Please note - you can easily <a href="{{user_subscriptions_url}}">change</a> how often you receive these notifications or unsubscribe. Thank you for your interest in our forum!</p> {% endtrans %} {%endblock%} diff --git a/askbot/skins/default/templates/email/macros.html b/askbot/skins/default/templates/email/macros.html index d7817bf9..3c2d1c02 100644 --- a/askbot/skins/default/templates/email/macros.html +++ b/askbot/skins/default/templates/email/macros.html @@ -9,7 +9,7 @@ {{ start_quote(quote_level) }} {% set author = post.author.username|escape %} {% if post.post_type == 'question' %} - <p> + <p style="font-size:10px; font-weight: bold;"> {% if format == 'parent_subthread' %} {% if is_leaf_post %} {% trans %}Question by {{ author }}:{% endtrans %} @@ -22,21 +22,22 @@ {% trans %}Question :{% endtrans %} {% endif %} {{ post.thread.title }} - </p> - <p> + </p> + <p style="font-size:10px; font-weight: bold;"> {% if format != 'parent_subthread' %} {% trans %}Asked by {{ author }}:{% endtrans %} {% endif %} - </p> + </p> + </p> {% set tag_names = post.get_tag_names() %} {% if tag_names %} - <p> + <p style="font-size:10px; font-style:italic;"> {% trans %}Tags:{% endtrans %} {{ tag_names|join(', ') }}. </p> {% endif %} {% elif post.post_type == 'answer' %} - <p> + <p style="font-size:10px; font-weight: bold;"> {% if format == 'parent_subthread' %} {% if is_leaf_post %} {% trans -%} @@ -52,7 +53,7 @@ {% endif %} </p> {% else %} - <p> + <p style="font-size:10px; font-weight: bold;"> {% if format == 'parent_subthread' %} {% if is_leaf_post %} {% trans -%} |