parent
511123f518
commit
5b603b69bf
2 changed files with 37 additions and 25 deletions
@ -1,8 +1,15 @@ |
|||||||
|
{% extends "templates/lilcity/index.html" %} |
||||||
|
|
||||||
{% block pre_app_js %} |
{% block pre_app_js %} |
||||||
window.LIL_STORE.components['block-images'] = '../components/BlockImages'; |
<script> |
||||||
|
window.LIL_STORE.components['block-images'] = '../components/BlockImages.vue'; |
||||||
|
window.LIL_STORE._user_gallery_images = [{% for img in user.gallery.gallery_images.all %}{ |
||||||
|
image_thumbnail_url: '{{ img.image_thumbnail_url }}', |
||||||
|
image_id: {{ img.id }}, |
||||||
|
},{% endfor %}]; |
||||||
|
</script> |
||||||
{% endblock pre_app_js %} |
{% endblock pre_app_js %} |
||||||
|
|
||||||
{% block content %} |
{% block content %} |
||||||
|
<block-images :images="$root.store._user_gallery_images" :access-token="$root.store.accessToken"/> |
||||||
{% endblock %} |
{% endblock %} |
||||||
|
|||||||
Loading…
Reference in new issue