mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-10 13:16:09 +10:00
Fix external commit links
Display the '@' character for links to commits in other projects.
This commit is contained in:
@@ -245,6 +245,7 @@ module Gitlab
|
||||
title: commit.link_title,
|
||||
class: "gfm gfm-commit #{html_options[:class]}"
|
||||
)
|
||||
prefix_text = "#{prefix_text}@" if prefix_text
|
||||
link_to(
|
||||
"#{prefix_text}#{identifier}",
|
||||
project_commit_url(project, commit),
|
||||
|
||||
Reference in New Issue
Block a user