Commit 640d51f4 authored by Riyad Preukschas's avatar Riyad Preukschas

Fix GFM in events

Fixes #2563
parent 592d626d
No related merge requests found
......@@ -2,10 +2,9 @@
%span.author_name= link_to_author event
%span.event_label{class: event.action_name}= event_action_name(event)
- if event.target
= link_to [event.project, event.target] do
%strong= truncate event.target_title
%strong= link_to_gfm truncate(event.target_title), [event.project, event.target]
- else
%strong= truncate event.target_title
%strong= gfm truncate(event.target_title)
at
- if event.project
= link_to_project event.project
......
......@@ -21,4 +21,4 @@
.event-body
%span.event-note
%i.icon-comment-alt
= truncate event.target.note, length: 70
= gfm truncate(event.target.note, length: 70)
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