Commit 51eab413 authored by George Tsiolis's avatar George Tsiolis

Use merge request prefix symbol in event feed title

parent 1cf4aa02
......@@ -90,6 +90,10 @@ module EventsHelper
elsif event.milestone?
words << "##{event.target_iid}" if event.target_iid
words << "in"
elsif event.merge_request?
words << "!#{event.target_iid}:" if event.target_iid
words << event.target.title if event.target.respond_to?(:title)
words << "at"
elsif event.target
words << "##{event.target_iid}:"
words << event.target.title if event.target.respond_to?(:title)
......
---
title: Use merge request prefix symbol in event fetitle
merge_request: 22449
author: George Tsiolis
type: changed
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