Commit ffa234bc80465be160dc93fedeff1eb3ee1c15ba

Authored by Dmitriy Zaporozhets
1 parent 14db7042

Dont render event body if empty

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
app/views/events/event/_common.html.haml
... ... @@ -10,7 +10,7 @@
10 10 = link_to_project event.project
11 11 - else
12 12 = event.project_name
13   -.event-body
14   - .event-note
15   - - if event.target.respond_to?(:title)
  13 +- if event.target.respond_to?(:title)
  14 + .event-body
  15 + .event-note
16 16 = event.target.title
... ...