Commit ffa234bc authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Dont render event body if empty

parent 14db7042
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
= link_to_project event.project = link_to_project event.project
- else - else
= event.project_name = event.project_name
.event-body - if event.target.respond_to?(:title)
.event-body
.event-note .event-note
- if event.target.respond_to?(:title)
= event.target.title = event.target.title
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment