diff --git a/app/views/events/event/_common.html.haml b/app/views/events/event/_common.html.haml
index 05d3832c7f..6989f862f4 100644
--- a/app/views/events/event/_common.html.haml
+++ b/app/views/events/event/_common.html.haml
@@ -10,7 +10,7 @@
= link_to_project event.project
- else
= event.project_name
-.event-body
- .event-note
- - if event.target.respond_to?(:title)
+- if event.target.respond_to?(:title)
+ .event-body
+ .event-note
= event.target.title