# HG changeset patch # User Goffi # Date 1598338013 -7200 # Node ID 671085989f2f6246f746a408e90adaa1f3ea63d4 # Parent a50075db625c3e603ecfe974e9302d3d71df4673 bulma (photo/item): display delete icon when user is album owner and no affiliation is set diff -r a50075db625c -r 671085989f2f sat_templates/templates/bulma/photo/item.html --- a/sat_templates/templates/bulma/photo/item.html Tue Aug 25 08:45:35 2020 +0200 +++ b/sat_templates/templates/bulma/photo/item.html Tue Aug 25 08:46:53 2020 +0200 @@ -19,7 +19,7 @@
- {% if file.affiliation == 'owner' %} + {% if file.affiliation == "owner" or not file.affiliation and directory_affiliation == "owner" %}
{{ icon('trash-empty', cls='icon is-small') }}