]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/note_comment_notification.text.erb
Whitespace fixes for issues erb files
[rails.git] / app / views / notifier / note_comment_notification.text.erb
index c8a967450d4b5a2d22b73e0f7030bf599fcc01ef..7014a5057c28e9c1e050b276a323c684abaafbc2 100644 (file)
@@ -1,13 +1,15 @@
-<%= t 'notifier.note_comment_notification.greeting' %>
+<%= t '.greeting' %>
 
 <% if @owner %>
-<%= t "notifier.note_comment_notification.#{@event}.your_note", :commenter => @commenter, :place => @place %>
+<%= t ".#{@event}.your_note", :commenter => @commenter, :place => @place %>
 <% else %>
-<%= t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => @commenter, :place => @place %>
+<%= t ".#{@event}.commented_note", :commenter => @commenter, :place => @place %>
 <% end %>
 
+<% unless @comment.empty? %>
 ==
 <%= @comment.to_text %>
 ==
 
-<%= t 'notifier.note_comment_notification.details', :url => @noteurl %>
+<% end %>
+<%= t '.details', :url => @noteurl %>