diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-16 15:40:55 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-16 15:40:55 +0300 |
commit | ffa234bc80465be160dc93fedeff1eb3ee1c15ba (patch) | |
tree | 031f4d5f800fa4800a6df376c6e6d4df502d82c3 /app/views/events/event | |
parent | 14db7042316c7b47153a70b1cb1f07bb3b3430eb (diff) | |
download | gitlab-ce-ffa234bc80465be160dc93fedeff1eb3ee1c15ba.tar.gz |
Dont render event body if empty
Diffstat (limited to 'app/views/events/event')
-rw-r--r-- | app/views/events/event/_common.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/events/event/_common.html.haml b/app/views/events/event/_common.html.haml index 05d3832c7f9..6989f862f47 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 |