Debian Codegraph @

sat_templates/templates/bulma/photo/discover.html

raw symbols SCIP
1 {% extends 'base/base.html' %}
2 {% import 'components/block.html' as block with context %}
3 {% import 'input/form.html' as form with context %}
4 {% import 'input/field.html' as field with context %}
5
6 {% block body %}
7 {{ icon_defs('file-image', 'trash-empty') }}
8 <section class="section">
9 <div class="content has-items-centered is-flex">
10 {{ component.action_button(url_photos_new) }}
11 </div>
12 {% if interests is defined %}
13 <div class="message is-info">
14 <div class="message-body">
15 {% trans nb_interests=interests|length%}
16 You have currently {{nb_interests}} album in your personal list
17 {% pluralize %}
18 You have currently {{nb_interests}} albums in your personal list
19 {% endtrans %}
20 </div>
21 </div>
22
23 {{block.interests_grid(interests, 'file-image')}}
24 {% endif %}
25 <article class="message has-text-centered">
26 <div class="message-body">
27 {% trans %}
28 Photo discovery is not implemented yet, however you can enter a jid below to find its albums
29 {% endtrans %}
30 </div>
31 </article>
32 {% call form.form(class="form--single") %}
33 {{ field.text("jid", _("device full jid"), required=true)}}
34 {{ field.submit(_("Access")) }}
35 {% endcall %}
36 </section>
37 {% endblock body %}