# HG changeset patch # User Goffi # Date 1599336067 -7200 # Node ID 7670752665e08c322594353de86fcfc58cf37102 # Parent f8026bf77a4ca3b294ab247f280a1f0c8c7750d1 bulma (photo/album): added a `cover` button to change album cover diff -r f8026bf77a4c -r 7670752665e0 sat_templates/templates/bulma/photo/album.html --- a/sat_templates/templates/bulma/photo/album.html Tue Aug 25 08:49:32 2020 +0200 +++ b/sat_templates/templates/bulma/photo/album.html Sat Sep 05 22:01:07 2020 +0200 @@ -6,7 +6,7 @@ {% import 'blog/macros.html' as blog with context %} {% block body %} -{{ icon_defs('comment-empty', 'trash-empty') }} +{{ icon_defs('comment-empty', 'trash-empty', 'picture') }} {% if directory_affiliation == 'owner' %}
diff -r f8026bf77a4c -r 7670752665e0 sat_templates/templates/bulma/photo/item.html --- a/sat_templates/templates/bulma/photo/item.html Tue Aug 25 08:49:32 2020 +0200 +++ b/sat_templates/templates/bulma/photo/item.html Sat Sep 05 22:01:07 2020 +0200 @@ -24,6 +24,11 @@ {{ icon('trash-empty', cls='icon is-small') }}
{% endif %} + {% if directory_affiliation == "owner" %} +
+ {{ icon('picture', cls='icon is-small') }} +
+ {% endif %}