]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/note_comment_notification.text.erb
Merge pull request #1151 from polarbearing/patch-1
[rails.git] / app / views / notifier / note_comment_notification.text.erb
index 81306f9cb2ac5f7e040b404bb6501d868a49641d..7014a5057c28e9c1e050b276a323c684abaafbc2 100644 (file)
@@ -1,13 +1,15 @@
-<%= t 'notifier.note_comment_notification.greeting' %>
+<%= t '.greeting' %>
 
 <% if @owner %>
-<%= t 'notifier.note_comment_notification.your_note', :commenter => @commenter, :place => @place %>
+<%= t ".#{@event}.your_note", :commenter => @commenter, :place => @place %>
 <% else %>
-<%= t 'notifier.note_comment_notification.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 %>