comparison sat_templates/templates/bulma/photo/album.html @ 277:4efd3d23de17

bulma (photo/album): added a hint for non owner to indicate that slideshow can be launched
author Goffi <goffi@goffi.org>
date Fri, 14 Aug 2020 08:47:06 +0200
parents a2b4793c92a9
children 46eee98c19d8
comparison
equal deleted inserted replaced
276:a2b4793c92a9 277:4efd3d23de17
10 10
11 {% if directory_affiliation == 'owner' %} 11 {% if directory_affiliation == 'owner' %}
12 <div class="content has-items-centered is-flex my-4"> 12 <div class="content has-items-centered is-flex my-4">
13 {{ component.action_button("#", label=_("manage invitations"), icon="group", id="button_manage") }} 13 {{ component.action_button("#", label=_("manage invitations"), icon="group", id="button_manage") }}
14 </div> 14 </div>
15 {% else %}
16 <article id="hint" class="message is-info my-4">
17 <div class="message-header">
18 <p>{% trans %}hint{% endtrans %}</p>
19 <button class="delete click_to_delete" aria-label="delete"></button>
20 </div>
21 <div class="message-body">
22 {% trans %}You can click on any picture to start a slideshow{% endtrans %}
23 </div>
24 </article>
15 {% endif %} 25 {% endif %}
16 <div id="album_items" class="columns album is-multiline mt-4"> 26 <div id="album_items" class="columns album is-multiline mt-4">
17 {% set ns_photos = namespace(empty=true) %} 27 {% set ns_photos = namespace(empty=true) %}
18 {% for file in files_data %} 28 {% for file in files_data %}
19 {% if file.type == C.FILE_TYPE_FILE %} 29 {% if file.type == C.FILE_TYPE_FILE %}