Mercurial > libervia-templates
annotate sat_templates/templates/default/photo/discover.html @ 314:fd9b39f5e00a
bulma: add missing `error` templates
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 27 Mar 2021 14:41:21 +0100 |
parents | 03c8fd941c0c |
children |
rev | line source |
---|---|
129 | 1 {% extends 'base/base.html' %} |
196
03c8fd941c0c
event, photo, components: moved interests grid in a macro (in components/block)
Goffi <goffi@goffi.org>
parents:
194
diff
changeset
|
2 {% import 'components/block.html' as block with context %} |
129 | 3 {% import 'input/form.html' as form with context %} |
4 {% import 'input/field.html' as field with context %} | |
5 | |
6 {% block body %} | |
194
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
7 {{ icon_defs('file-image') }} |
129 | 8 <p class="instructions--alt">{% trans %}Photo discovery is not implemented yet, however you can enter a jid below to find its albums{% endtrans %}</p> |
194
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
9 {% if interests is defined %} |
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
10 <p class="message--note"> |
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
11 {% trans nb_interests=interests|length%} |
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
12 You have currently {{nb_interests}} album in your personal list |
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
13 {% pluralize %} |
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
14 You have currently {{nb_interests}} albums in your personal list |
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
15 {% endtrans %} |
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
16 </p> |
196
03c8fd941c0c
event, photo, components: moved interests grid in a macro (in components/block)
Goffi <goffi@goffi.org>
parents:
194
diff
changeset
|
17 |
03c8fd941c0c
event, photo, components: moved interests grid in a macro (in components/block)
Goffi <goffi@goffi.org>
parents:
194
diff
changeset
|
18 {{block.interests_grid(interests, 'file-image')}} |
194
9b2646188b7a
photo/discover: show albums in "interests"
Goffi <goffi@goffi.org>
parents:
164
diff
changeset
|
19 {% endif %} |
155
954759f0e8fa
css: styles improvments + following a bit more BEM conventions
Goffi <goffi@goffi.org>
parents:
147
diff
changeset
|
20 {% call form.form(class="form--single") %} |
129 | 21 {{ field.text("jid", _("device full jid"), required=true)}} |
22 {{ field.submit(_("Access")) }} | |
23 {% endcall %} | |
24 {% endblock body %} |