Mercurial > libervia-templates
comparison sat_templates/templates/bulma/photo/item.html @ 287:7670752665e0
bulma (photo/album): added a `cover` button to change album cover
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 05 Sep 2020 22:01:07 +0200 |
parents | 671085989f2f |
children |
comparison
equal
deleted
inserted
replaced
286:f8026bf77a4c | 287:7670752665e0 |
---|---|
20 <div class="level"> | 20 <div class="level"> |
21 <div class="level-left"> | 21 <div class="level-left"> |
22 {% if file.affiliation == "owner" or not file.affiliation and directory_affiliation == "owner" %} | 22 {% if file.affiliation == "owner" or not file.affiliation and directory_affiliation == "owner" %} |
23 <div class="level-item is-size-7 x-is-hoverable-primary action_delete"> | 23 <div class="level-item is-size-7 x-is-hoverable-primary action_delete"> |
24 {{ icon('trash-empty', cls='icon is-small') }} | 24 {{ icon('trash-empty', cls='icon is-small') }} |
25 </div> | |
26 {% endif %} | |
27 {% if directory_affiliation == "owner" %} | |
28 <div class="level-item is-size-7 x-is-hoverable-primary action_cover"> | |
29 {{ icon('picture', cls='icon is-small') }} | |
25 </div> | 30 </div> |
26 {% endif %} | 31 {% endif %} |
27 </div> | 32 </div> |
28 <div class="level-right"> | 33 <div class="level-right"> |
29 <div class="level-item is-size-7"> | 34 <div class="level-item is-size-7"> |