# HG changeset patch # User Goffi # Date 1596294091 -7200 # Node ID 5e51ce9376ed3524554708c5ddefa4b3f214b3af # Parent 1a68c078a2332e5cbe08039562958a17f7f97390 bulma (photo/album): only show upload area/button if user is owner of the album diff -r 1a68c078a233 -r 5e51ce9376ed sat_templates/templates/bulma/photo/album.html --- a/sat_templates/templates/bulma/photo/album.html Sat Aug 01 17:01:31 2020 +0200 +++ b/sat_templates/templates/bulma/photo/album.html Sat Aug 01 17:01:31 2020 +0200 @@ -16,8 +16,8 @@ {% endif %} {% endfor %} -{# {% if ns_photos.empty %} #} -{% if true %} + +{% if directory_affiliation == 'owner' %}
{% trans %}