Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
AE
Sith
Commits
6eabbaf2
Commit
6eabbaf2
authored
May 15, 2020
by
Skia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core: add lazy loading in user pictures page
parent
03fdd0b9
Pipeline
#2192
passed with stage
in 37 minutes and 41 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
core/templates/core/user_pictures.jinja
core/templates/core/user_pictures.jinja
+1
-1
No files found.
core/templates/core/user_pictures.jinja
View file @
6eabbaf2
...
...
@@ -12,7 +12,7 @@
{%
for
picture
in
pictures
[
a.id
]
%}
<div
class=
"picture"
>
<a
href=
"
{{
url
(
"sas:picture"
,
picture_id
=
picture.id
)
}}
#pict"
>
<img
src=
"
{{
picture.get_download_thumb_url
()
}}
"
alt=
"
{{
picture.get_display_name
()
}}
"
style=
"max-width: 100%"
/>
<img
src=
"
{{
picture.get_download_thumb_url
()
}}
"
alt=
"
{{
picture.get_display_name
()
}}
"
style=
"max-width: 100%"
loading=
"lazy"
/>
</a>
</div>
{%
endfor
%}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment