Skip to content
Snippets Groups Projects

[WIP] Moves the stage and ref from the table in a ci commit build to a plain one line text

Closed Tiago Botelho requested to merge tiagonbotelho/gitlab-ce:ci-commit into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -72,7 +72,7 @@ def avatar_icon(user_or_email = nil, size = nil, scale = 2)
@@ -72,7 +72,7 @@ def avatar_icon(user_or_email = nil, size = nil, scale = 2)
if user_or_email.is_a?(User)
if user_or_email.is_a?(User)
user = user_or_email
user = user_or_email
else
else
user = User.find_by(email: user_or_email.downcase)
user = User.find_by_any_email(user_or_email.downcase)
end
end
if user
if user
Loading