| 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') }} |
| 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> |
| 9 | {% if interests is defined %} |
| 10 | <p class="message--note"> |
| 11 | {% trans nb_interests=interests|length%} |
| 12 | You have currently {{nb_interests}} album in your personal list |
| 13 | {% pluralize %} |
| 14 | You have currently {{nb_interests}} albums in your personal list |
| 15 | {% endtrans %} |
| 16 | </p> |
| 17 | |
| 18 | {{block.interests_grid(interests, 'file-image')}} |
| 19 | {% endif %} |
| 20 | {% call form.form(class="form--single") %} |
| 21 | {{ field.text("jid", _("device full jid"), required=true)}} |
| 22 | {{ field.submit(_("Access")) }} |
| 23 | {% endcall %} |
| 24 | {% endblock body %} |