# HG changeset patch # User Goffi # Date 1596294091 -7200 # Node ID b680ce7ba004f479ae0334db3370e41b9c68b286 # Parent caadb06854a02c903a4e237c1413535251eea159 bulma (photo/album): added `manage invitations` button if user is owner of the album diff -r caadb06854a0 -r b680ce7ba004 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 @@ -7,6 +7,12 @@ {% block body %} {{ icon_defs('comment-empty', 'trash-empty') }} + +{% if directory_affiliation == 'owner' %} +
+ {{ component.action_button("#", label=_("manage invitations"), icon="group", id="button_manage") }} +
+{% endif %}
{% set ns_photos = namespace(empty=true) %} {% for file in files_data %}