diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2016-09-01 01:28:48 +0300 |
---|---|---|
committer | Steffen van Bergerem <svbergerem@online.de> | 2016-09-04 02:43:24 +0300 |
commit | 575748169ec1d580695a7e397e36eaf6c2bc548c (patch) | |
tree | 7d8f1de5952395fb034b162f002e6be6c90f4dcf /app/views | |
parent | cf5a9d7e0467a998a18402c88b9e95d55cd23303 (diff) |
remove text color from notification mails
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/layouts/notifier.html.erb | 62 |
1 files changed, 30 insertions, 32 deletions
diff --git a/app/views/layouts/notifier.html.erb b/app/views/layouts/notifier.html.erb index 301347a54..1a8462455 100644 --- a/app/views/layouts/notifier.html.erb +++ b/app/views/layouts/notifier.html.erb @@ -1,36 +1,34 @@ -<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;color:#333;"> - <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;color:#333;"> - <tr width="100%"> - <% if @sender %> - <td style="vertical-align:top;" width="80px"> - <div style="background-color:#eee;height:70px;width:70px;"> - <img alt="<%=@sender.name%>" src="<%=@sender.profile.image_url(:medium)%>" style="border:0;display:block;display:relative;top:0;left:0;" height="70px" width="70px"> - </div> - </td> - <% end %> - <td style="vertical-align:top;"> - <%= yield %> +<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;"> + <tr width="100%"> + <% if @sender %> + <td style="vertical-align:top;" width="80px"> + <div style="background-color:#eee;height:70px;width:70px;"> + <img alt="<%=@sender.name%>" src="<%=@sender.profile.image_url(:medium)%>" style="border:0;display:block;display:relative;top:0;left:0;" height="70px" width="70px"> + </div> </td> - </tr> - </table> + <% end %> + <td style="vertical-align:top;"> + <%= yield %> + </td> + </tr> +</table> - <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:12px;color:#999; padding-top:10px; margin-top:10px; border-top: 1px solid #ddd;"> - <tr> - <td> - <%= t('notifier.email_sent_by_diaspora', :pod_name => pod_name) %> - <a href="<%=edit_user_url%>"> - <%= t('notifier.click_here') %> - </a> - <%=t('notifier.to_change_your_notification_settings')%>. - </td> - </tr> - </table> - <table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:14px;color:#333;"> - <tr> - <td style="text-align:center;padding:30px;"> - <img src="<%= image_url("branding/logos/logo_small.png") %>" alt="diaspora*" width="59px" height="14px"/> - </td> - </tr> - </table> +<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%" style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:12px;color:#999; padding-top:10px; margin-top:10px; border-top: 1px solid #ddd;"> + <tr> + <td> + <%= t("notifier.email_sent_by_diaspora", pod_name: pod_name) %> + <a href="<%=edit_user_url%>"> + <%= t("notifier.click_here") %> + </a> + <%=t("notifier.to_change_your_notification_settings")%>. + </td> + </tr> </table> +<table cellspacing="0" cellpadding="0" border="0" align="center" width="100%"> + <tr> + <td style="text-align:center;padding:30px;"> + <img src="<%= image_url("branding/logos/logo_small.png") %>" alt="diaspora*" width="59px" height="14px"/> + </td> + </tr> +</table> |