mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-22 18:29:34 +00:00
feat: cache user pictures
This commit is contained in:
1 parent
289ffe1109
commit
2a30f30a31
3 files changed
+28
-3
No files matched your search
@@ -15,7 +15,7 @@
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<main x-data="user_pictures({ userId: {{ object.id }} })">
|
||||
<main x-data="user_pictures({ userId: {{ object.id }}, nbPictures: {{ object.nb_pictures }} })">
|
||||
{% if user.id == object.id %}
|
||||
{{ download_button(_("Download all my pictures")) }}
|
||||
{% endif %}
|
||||
|
||||
Reference in new issue
Block a user