Mercurial > libervia-templates
changeset 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 | 672b6137ef29 |
files | sat_templates/templates/bulma/photo/album.html |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sat_templates/templates/bulma/photo/album.html Fri Aug 14 08:47:06 2020 +0200 +++ b/sat_templates/templates/bulma/photo/album.html Fri Aug 14 08:47:06 2020 +0200 @@ -12,6 +12,16 @@ <div class="content has-items-centered is-flex my-4"> {{ component.action_button("#", label=_("manage invitations"), icon="group", id="button_manage") }} </div> +{% else %} + <article id="hint" class="message is-info my-4"> + <div class="message-header"> + <p>{% trans %}hint{% endtrans %}</p> + <button class="delete click_to_delete" aria-label="delete"></button> + </div> + <div class="message-body"> + {% trans %}You can click on any picture to start a slideshow{% endtrans %} + </div> + </article> {% endif %} <div id="album_items" class="columns album is-multiline mt-4"> {% set ns_photos = namespace(empty=true) %}