Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiyad Preukschas <riyad@informatik.uni-bremen.de>2013-01-16 21:08:51 +0400
committerRiyad Preukschas <riyad@informatik.uni-bremen.de>2013-01-16 21:09:49 +0400
commit640d51f4b64041a37d302da46c90a4a735a4fe90 (patch)
tree7df0a28b48253668ccdb26cbee42aedf1260dff4 /app/views/events/event/_common.html.haml
parent592d626dad76432dc67eff2fa3dc1802a6c691e7 (diff)
Fix GFM in events
Fixes #2563
Diffstat (limited to 'app/views/events/event/_common.html.haml')
-rw-r--r--app/views/events/event/_common.html.haml5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/events/event/_common.html.haml b/app/views/events/event/_common.html.haml
index dcabd1a95ee..53cbe1c94ce 100644
--- a/app/views/events/event/_common.html.haml
+++ b/app/views/events/event/_common.html.haml
@@ -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