]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/note_comment_notification.html.erb
Make the notification mails for notes show when a note is resolved
[rails.git] / app / views / notifier / note_comment_notification.html.erb
index b17fe67f840102968aacc516f82f485d21d69dc1..d82723bbb86d5dac0c5ca46a6a3a2f19cb08fde2 100644 (file)
@@ -1,9 +1,9 @@
 <p><%= t 'notifier.note_comment_notification.greeting' %></p>
 
 <% if @owner %>
-<p><%= t 'notifier.note_comment_notification.your_note', :commenter => @commenter, :place => @place %></p>
+<p><%= t "notifier.note_comment_notification.#{@event}.your_note", :commenter => @commenter, :place => @place %></p>
 <% else %>
-<p><%= t 'notifier.note_comment_notification.commented_note', :commenter => @commenter, :place => @place %></p>
+<p><%= t "notifier.note_comment_notification.#{@event}.commented_note", :commenter => @commenter, :place => @place %></p>
 <% end %>
 
 ==