Commit Graph

8 Commits

Author SHA1 Message Date
Douwe Maan fcc41fe396
Fix commit trailer rendering when Gravatar is disabled 2018-04-25 17:32:51 +02:00
Andreas Brandl c641dff094 Explicit use of avatar_icon_* calls depending on situation.
We want to drop the generic #avatar_icon helper that supports both an email
and a user object being passed in. Instead, we want to explicitly use the #avatar_icon_for_user
and #avatar_icon_for_email helpers depending on what we have at hand.
This allows us to avoid unnecessary database queries (e.g. call
User.find_by_any_email if we already have the user).

In situations like here, this makes it less convenient to use.
2018-02-13 18:04:51 +01:00
kushalpandya d94df6ef83 Update tests to reflect `user_avatar_without_link` helper changes 2017-09-25 13:43:15 +05:30
Clement Ho ee22930044 Remove tooltip from filtered search user 2017-08-22 16:41:17 -05:00
Tim Zallmann 52b8a0db68 Resolve "Lazy load images on the Frontend" 2017-07-24 17:36:52 +00:00
Winnie Hellmann f2b34fb208 Show current user immediately in issuable filters 2017-06-02 07:42:18 +00:00
blackst0ne 29a3203b3f Use relative paths for group/project/user avatars 2017-05-10 15:26:17 +11:00
Toon Claes 0759db802f Move user_link to generic UsersHelper
Make the user_link helper more generic to be used for objects other
than pipelines.
2017-03-23 22:21:00 +01:00