From 433b7c5dfae0afa72058c2aaf236859998a2175a Mon Sep 17 00:00:00 2001 From: Herve Saint-Amand Date: Fri, 13 Jan 2017 22:58:57 +0000 Subject: [PATCH] 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. --- app/views/layouts/notifier.html.erb | 2 +- app/views/notifier/changeset_comment_notification.html.erb | 2 +- app/views/notifier/diary_comment_notification.html.erb | 2 +- app/views/notifier/email_confirm.html.erb | 2 +- app/views/notifier/friend_notification.html.erb | 2 +- app/views/notifier/gpx_failure.html.erb | 2 +- app/views/notifier/gpx_success.html.erb | 2 +- app/views/notifier/lost_password.html.erb | 2 +- app/views/notifier/message_notification.html.erb | 2 +- app/views/notifier/note_comment_notification.html.erb | 2 +- app/views/notifier/signup_confirm.html.erb | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/app/views/layouts/notifier.html.erb b/app/views/layouts/notifier.html.erb index 3b8ce6657..8122125cb 100644 --- a/app/views/layouts/notifier.html.erb +++ b/app/views/layouts/notifier.html.erb @@ -24,7 +24,7 @@ - diff --git a/app/views/notifier/changeset_comment_notification.html.erb b/app/views/notifier/changeset_comment_notification.html.erb index 0d97b402a..d0b04de3f 100644 --- a/app/views/notifier/changeset_comment_notification.html.erb +++ b/app/views/notifier/changeset_comment_notification.html.erb @@ -1,4 +1,4 @@ -

+

<%= t'notifier.changeset_comment_notification.hi', :to_user => @to_user %>

diff --git a/app/views/notifier/diary_comment_notification.html.erb b/app/views/notifier/diary_comment_notification.html.erb index e37f682a3..4b7c63105 100644 --- a/app/views/notifier/diary_comment_notification.html.erb +++ b/app/views/notifier/diary_comment_notification.html.erb @@ -1,4 +1,4 @@ -

+

<%= t'notifier.diary_comment_notification.hi', :to_user => @to_user %>

diff --git a/app/views/notifier/email_confirm.html.erb b/app/views/notifier/email_confirm.html.erb index 2afbfcbf6..5d8f49d3d 100644 --- a/app/views/notifier/email_confirm.html.erb +++ b/app/views/notifier/email_confirm.html.erb @@ -1,4 +1,4 @@ -

<%= t 'notifier.email_confirm_html.greeting' %>

+

<%= t 'notifier.email_confirm_html.greeting' %>

<%= t 'notifier.email_confirm_html.hopefully_you', :server_url => SERVER_URL, :new_address => @address %>

diff --git a/app/views/notifier/friend_notification.html.erb b/app/views/notifier/friend_notification.html.erb index 91de4b732..356aca0aa 100644 --- a/app/views/notifier/friend_notification.html.erb +++ b/app/views/notifier/friend_notification.html.erb @@ -1,4 +1,4 @@ -

<%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %>

+

<%= t 'notifier.friend_notification.had_added_you', :user => @friend.befriender.display_name %>

<%= render "notifier/user_message_table", :captured => capture { %>

<%= raw t 'notifier.friend_notification.see_their_profile', :userurl => link_to(@viewurl, @viewurl) %>

diff --git a/app/views/notifier/gpx_failure.html.erb b/app/views/notifier/gpx_failure.html.erb index cc43905b2..dace18522 100644 --- a/app/views/notifier/gpx_failure.html.erb +++ b/app/views/notifier/gpx_failure.html.erb @@ -1,4 +1,4 @@ -

<%= t'notifier.gpx_notification.greeting' %>

+

<%= t'notifier.gpx_notification.greeting' %>

<%= render :partial => "gpx_description" %> diff --git a/app/views/notifier/gpx_success.html.erb b/app/views/notifier/gpx_success.html.erb index 8e2408845..d298bd70a 100644 --- a/app/views/notifier/gpx_success.html.erb +++ b/app/views/notifier/gpx_success.html.erb @@ -1,4 +1,4 @@ -

<%= t'notifier.gpx_notification.greeting' %>

+

<%= t'notifier.gpx_notification.greeting' %>

<%= render :partial => "gpx_description" %> diff --git a/app/views/notifier/lost_password.html.erb b/app/views/notifier/lost_password.html.erb index 520d1097a..5f1012ac6 100644 --- a/app/views/notifier/lost_password.html.erb +++ b/app/views/notifier/lost_password.html.erb @@ -1,4 +1,4 @@ -

<%= t 'notifier.lost_password_html.greeting' %>

+

<%= t 'notifier.lost_password_html.greeting' %>

<%= t 'notifier.lost_password_html.hopefully_you' %>

diff --git a/app/views/notifier/message_notification.html.erb b/app/views/notifier/message_notification.html.erb index 7a4ac66a5..d3871f030 100644 --- a/app/views/notifier/message_notification.html.erb +++ b/app/views/notifier/message_notification.html.erb @@ -1,4 +1,4 @@ -

+

<%= t'notifier.message_notification.hi', :to_user => @to_user %>

diff --git a/app/views/notifier/note_comment_notification.html.erb b/app/views/notifier/note_comment_notification.html.erb index 88b8f9603..749298531 100644 --- a/app/views/notifier/note_comment_notification.html.erb +++ b/app/views/notifier/note_comment_notification.html.erb @@ -1,4 +1,4 @@ -

<%= t 'notifier.note_comment_notification.greeting' %>

+

<%= t 'notifier.note_comment_notification.greeting' %>

<% if @owner %>

<%= raw t "notifier.note_comment_notification.#{@event}.your_note", :commenter => link_to_user(@commenter), :place => @place %>

diff --git a/app/views/notifier/signup_confirm.html.erb b/app/views/notifier/signup_confirm.html.erb index 557fef830..41b2ceb49 100644 --- a/app/views/notifier/signup_confirm.html.erb +++ b/app/views/notifier/signup_confirm.html.erb @@ -1,4 +1,4 @@ -

<%= t("notifier.signup_confirm.greeting") %>

+

<%= t("notifier.signup_confirm.greeting") %>

<%= t("notifier.signup_confirm.created", :site_url => SERVER_URL) %>

-- 2.43.2
+ <%= yield %>