diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-09-14 15:29:26 +0100 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-09-28 13:29:32 +0100 |
commit | 9cd87f6fa9be629018f11420ed7e70d9ac4e5804 (patch) | |
tree | 5d2ae86fa64e196e08856dc533ee70be7dbf797f /app/views | |
parent | 8b1a3d40e76093ff6ffd28a6e08280f4b29afc8e (diff) | |
download | gitlab-ce-9cd87f6fa9be629018f11420ed7e70d9ac4e5804.tar.gz |
Add lazy_load option to participant avatar helper
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/issuable/_participants.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_participants.html.haml b/app/views/shared/issuable/_participants.html.haml index 8a71819aa8e..d2b62557e03 100644 --- a/app/views/shared/issuable/_participants.html.haml +++ b/app/views/shared/issuable/_participants.html.haml @@ -11,7 +11,7 @@ .hide-collapsed.participants-list - participants.each do |participant| .participants-author.js-participants-author - = link_to_member(@project, participant, name: false, size: 24) + = link_to_member(@project, participant, name: false, size: 24, lazy_load: true) - if participants_extra > 0 .hide-collapsed.participants-more %a.js-participants-more{ href: "#", data: { original_text: "+ #{participants_size - 7} more", less_text: "- show less" } } |