gitlab-org--gitlab-foss/app/views
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
..
abuse_report_mailer
abuse_reports
admin Use more specific #avatar_icon_for_user. 2018-02-13 18:04:51 +01:00
award_emoji
ci Merge branch '42928-default-protected-variables-to-off' into 'master' 2018-02-12 10:02:37 +00:00
dashboard Improve top area navigation 2018-02-02 19:07:24 +02:00
devise use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
discussions Use more specific #avatar_icon_for_user. 2018-02-13 18:04:51 +01:00
doorkeeper Add breadcrumbs to User Settings sub-views 2018-01-01 17:45:20 +00:00
email_rejection_mailer
errors remove ambiguity about which resource type to be using for new sessions 2017-12-05 09:01:46 +00:00
events Use more specific #avatar_icon_for_user. 2018-02-13 18:04:51 +01:00
explore Added dispatcher imports for groups webpack bundle 2018-01-23 10:02:43 +00:00
groups Revert and remove header_title line from labels issue 2018-02-12 14:14:54 +01:00
help Use more specific #avatar_icon_for_email. 2018-02-13 18:04:51 +01:00
ide WebIDE: Fix Commit bugs 2018-01-19 09:38:34 +00:00
import Replace $.post in importer status with axios 2018-02-09 11:14:48 +00:00
invites
issues Retrieve issue author's avatar by user, not user#email. 2018-02-13 18:04:51 +01:00
kaminari/gitlab
koding use Gitlab::UserSettings directly as a singleton instead of including/extending it 2018-02-02 18:39:55 +00:00
layouts Use more specific #avatar_icon_for_user. 2018-02-13 18:04:51 +01:00
notify Explicit use of avatar_icon_* calls depending on situation. 2018-02-13 18:04:51 +01:00
peek/views Add Gitaly data to the Peek performance bar 2017-10-23 10:14:41 +03:00
profiles Use more specific #avatar_icon_for_user. 2018-02-13 18:04:51 +01:00
projects Use avatar_icon_for_email for commits. 2018-02-13 18:04:51 +01:00
repository_check_mailer
search Use more specific #avatar_icon_for_user. 2018-02-13 18:04:51 +01:00
sent_notifications
shared Retrieve project creator's avatar by creator, not creator#email. 2018-02-13 18:04:51 +01:00
sherlock
snippets Improve top area navigation 2018-02-02 19:07:24 +02:00
u2f Tweak column widths on two factor warning messages 2017-09-08 12:40:49 +00:00
users Use more specific #avatar_icon_for_user. 2018-02-13 18:04:51 +01:00