Commit d0357f3bbe9258bcb2ca9732e25f34fc9933af57

Authored by Dmitriy Zaporozhets
1 parent ed7a11ae

Fix event note output

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/events/event/_note.html.haml
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@
5 - if event.note_commit? 5 - if event.note_commit?
6 = event.note_target_type 6 = event.note_target_type
7 = link_to event.note_short_commit_id, project_commit_path(event.project, event.note_commit_id), class: "commit_short_id" 7 = link_to event.note_short_commit_id, project_commit_path(event.project, event.note_commit_id), class: "commit_short_id"
8 - - if event.note_project_snippet? 8 + - elsif event.note_project_snippet?
9 = link_to project_snippet_path(event.project, event.note_target) do 9 = link_to project_snippet_path(event.project, event.note_target) do
10 %strong 10 %strong
11 #{event.note_target_type} ##{truncate event.note_target_id} 11 #{event.note_target_type} ##{truncate event.note_target_id}