From: Herve Saint-Amand Date: Fri, 31 Mar 2017 20:16:29 +0000 (+0000) Subject: Fix indentation in email template X-Git-Tag: live~3482 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/2ae479e3f37be9340e0f9af83ddda582396c3d6b?hp=-c Fix indentation in email template The plain text templates had nice indentation in the source however that got reflected in the output, which was visibly and needlessly indented. Closes #1512 --- 2ae479e3f37be9340e0f9af83ddda582396c3d6b diff --git a/app/views/notifier/changeset_comment_notification.text.erb b/app/views/notifier/changeset_comment_notification.text.erb index af1176b53..9919f2103 100644 --- a/app/views/notifier/changeset_comment_notification.text.erb +++ b/app/views/notifier/changeset_comment_notification.text.erb @@ -1,14 +1,14 @@ <%= t 'notifier.changeset_comment_notification.hi', :to_user => @to_user %> <% if @owner %> - <%= t "notifier.changeset_comment_notification.commented.your_changeset", :commenter => @commenter, :time => @time %> +<%= t "notifier.changeset_comment_notification.commented.your_changeset", :commenter => @commenter, :time => @time %> <% else %> - <%= t "notifier.changeset_comment_notification.commented.commented_changeset", :commenter => @commenter, :time => @time, :changeset_author => @changeset_author %> +<%= t "notifier.changeset_comment_notification.commented.commented_changeset", :commenter => @commenter, :time => @time, :changeset_author => @changeset_author %> <% end %> <% if @changeset_comment %> - <%= t "notifier.changeset_comment_notification.commented.partial_changeset_with_comment", :changeset_comment => @changeset_comment %> +<%= t "notifier.changeset_comment_notification.commented.partial_changeset_with_comment", :changeset_comment => @changeset_comment %> <% else %> - <%= t "notifier.changeset_comment_notification.commented.partial_changeset_without_comment" %> +<%= t "notifier.changeset_comment_notification.commented.partial_changeset_without_comment" %> <% end %> ==