comparison sat_templates/templates/bulma/photo/album.html @ 258:5e51ce9376ed

bulma (photo/album): only show upload area/button if user is owner of the album
author Goffi <goffi@goffi.org>
date Sat, 01 Aug 2020 17:01:31 +0200
parents a0e889d73bad
children b680ce7ba004
comparison
equal deleted inserted replaced
257:1a68c078a233 258:5e51ce9376ed
14 {% set ns_photos.empty = false %} 14 {% set ns_photos.empty = false %}
15 {% include 'photo/item.html' %} 15 {% include 'photo/item.html' %}
16 {% endif %} 16 {% endif %}
17 {% endfor %} 17 {% endfor %}
18 </div> 18 </div>
19 {# {% if ns_photos.empty %} #} 19
20 {% if true %} 20 {% if directory_affiliation == 'owner' %}
21 <div id="file_drop" class="box column has-border-dashed has-border-grey-light is-hidden-touch"> 21 <div id="file_drop" class="box column has-border-dashed has-border-grey-light is-hidden-touch">
22 <div class="has-text-weight-bold has-text-centered has-text-grey-light is-size-3"> 22 <div class="has-text-weight-bold has-text-centered has-text-grey-light is-size-3">
23 {% trans %} 23 {% trans %}
24 Drop photos here 24 Drop photos here
25 {% endtrans %} 25 {% endtrans %}