diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-07 18:33:16 +0300 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-06-07 18:33:16 +0300 |
| commit | d0357f3bbe9258bcb2ca9732e25f34fc9933af57 (patch) | |
| tree | 8e66f7df39413249980c75c6011ccda309683037 | |
| parent | ed7a11ae8fefbf424dfdef05198cfc644aa0ba24 (diff) | |
| download | gitlab-ce-d0357f3bbe9258bcb2ca9732e25f34fc9933af57.tar.gz | |
Fix event note output
| -rw-r--r-- | app/views/events/event/_note.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/events/event/_note.html.haml b/app/views/events/event/_note.html.haml index 458a00d94cd..d1f318e6d99 100644 --- a/app/views/events/event/_note.html.haml +++ b/app/views/events/event/_note.html.haml @@ -5,7 +5,7 @@ - if event.note_commit? = event.note_target_type = link_to event.note_short_commit_id, project_commit_path(event.project, event.note_commit_id), class: "commit_short_id" - - if event.note_project_snippet? + - elsif event.note_project_snippet? = link_to project_snippet_path(event.project, event.note_target) do %strong #{event.note_target_type} ##{truncate event.note_target_id} |
