diff --git a/app/views/internal/users/_notes.erb b/app/views/internal/users/_notes.erb index 310960583..b395f4452 100644 --- a/app/views/internal/users/_notes.erb +++ b/app/views/internal/users/_notes.erb @@ -2,7 +2,7 @@
<%= note.created_at.strftime("%d %B %Y %H:%M UTC") %> by <%= User.find(note.author_id).username %> - +
<%= note.created_at.strftime("%d %B %Y %H:%M UTC") %> by <%= User.find(note.author_id).username if note.author_id.present? %> - <% if !note.reason.blank? %><%= note.reason %>: <% end %><%= note.content %>
<% end %>