Remove that ugly style="margin: 0"

It's really only needed for rendering in Yahoo. Let's try to do without having to copy-paste that into every html template.
This commit is contained in:
Herve Saint-Amand 2017-01-13 22:58:57 +00:00
parent c94213847b
commit 433b7c5dfa
11 changed files with 11 additions and 11 deletions

View file

@ -24,7 +24,7 @@
<td colspan="2"> <td colspan="2">
<table style="background-color: #fff; color: #222; border: solid 1px #ccc; border-collapse: separate"> <table style="background-color: #fff; color: #222; border: solid 1px #ccc; border-collapse: separate">
<tr> <tr>
<td style="text-align: left; padding: 15px 15px 5px 15px"> <td style="text-align: left; padding: 0px 15px 5px 15px">
<%= yield %> <%= yield %>
</td> </td>
</tr> </tr>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"> <p>
<%= t'notifier.changeset_comment_notification.hi', :to_user => @to_user %> <%= t'notifier.changeset_comment_notification.hi', :to_user => @to_user %>
</p> </p>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"> <p>
<%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %> <%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %>
</p> </p>
<p> <p>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"><%= t 'notifier.email_confirm_html.greeting' %></p> <p><%= t 'notifier.email_confirm_html.greeting' %></p>
<p><%= t 'notifier.email_confirm_html.hopefully_you', :server_url => SERVER_URL, :new_address => @address %></p> <p><%= t 'notifier.email_confirm_html.hopefully_you', :server_url => SERVER_URL, :new_address => @address %></p>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"><%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %></p> <p><%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %></p>
<%= render "notifier/user_message_table", :captured => capture { %> <%= render "notifier/user_message_table", :captured => capture { %>
<p><%= raw t 'notifier.friend_notification.see_their_profile', :userurl => link_to(@viewurl, @viewurl) %></p> <p><%= raw t 'notifier.friend_notification.see_their_profile', :userurl => link_to(@viewurl, @viewurl) %></p>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"><%= t'notifier.gpx_notification.greeting' %></p> <p><%= t'notifier.gpx_notification.greeting' %></p>
<p> <p>
<%= render :partial => "gpx_description" %> <%= render :partial => "gpx_description" %>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"><%= t'notifier.gpx_notification.greeting' %></p> <p><%= t'notifier.gpx_notification.greeting' %></p>
<p> <p>
<%= render :partial => "gpx_description" %> <%= render :partial => "gpx_description" %>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"><%= t 'notifier.lost_password_html.greeting' %></p> <p><%= t 'notifier.lost_password_html.greeting' %></p>
<p><%= t 'notifier.lost_password_html.hopefully_you' %></p> <p><%= t 'notifier.lost_password_html.hopefully_you' %></p>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"> <p>
<%= t'notifier.message_notification.hi', :to_user => @to_user %> <%= t'notifier.message_notification.hi', :to_user => @to_user %>
</p> </p>
<p> <p>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"><%= t 'notifier.note_comment_notification.greeting' %></p> <p><%= t 'notifier.note_comment_notification.greeting' %></p>
<% if @owner %> <% if @owner %>
<p><%= raw t "notifier.note_comment_notification.#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %></p> <p><%= raw t "notifier.note_comment_notification.#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %></p>

View file

@ -1,4 +1,4 @@
<p style="margin: 0"><%= t("notifier.signup_confirm.greeting") %></p> <p><%= t("notifier.signup_confirm.greeting") %></p>
<p><%= t("notifier.signup_confirm.created", :site_url => SERVER_URL) %></p> <p><%= t("notifier.signup_confirm.created", :site_url => SERVER_URL) %></p>