X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..341f6cd9feed774f0abdb337f36272d5ecc92549:/app/helpers/note_helper.rb diff --git a/app/helpers/note_helper.rb b/app/helpers/note_helper.rb index 87bd86f42..2eb809572 100644 --- a/app/helpers/note_helper.rb +++ b/app/helpers/note_helper.rb @@ -17,6 +17,8 @@ module NoteHelper def note_author(author, link_options = {}) if author.nil? "" + elsif author.status == "deleted" + t("browse.anonymous") else link_to h(author.display_name), link_options.merge(:controller => "user", :action => "view", :display_name => author.display_name) end