# HG changeset patch # User Goffi # Date 1556881790 -7200 # Node ID 9b2646188b7a5503b1a75ebb250a97facc959ce4 # Parent f1188ce8dd17a4928e405409703a95e7d4b032de photo/discover: show albums in "interests" diff -r f1188ce8dd17 -r 9b2646188b7a sat_templates/templates/default/photo/discover.html --- a/sat_templates/templates/default/photo/discover.html Sat Apr 27 11:32:10 2019 +0200 +++ b/sat_templates/templates/default/photo/discover.html Fri May 03 13:09:50 2019 +0200 @@ -3,7 +3,31 @@ {% import 'input/field.html' as field with context %} {% block body %} +{{ icon_defs('file-image') }}

{% trans %}Photo discovery is not implemented yet, however you can enter a jid below to find its albums{% endtrans %}

+{% if interests is defined %} +

+ {% trans nb_interests=interests|length%} + You have currently {{nb_interests}} album in your personal list + {% pluralize %} + You have currently {{nb_interests}} albums in your personal list + {% endtrans %} +

+ +{% endif %} {% call form.form(class="form--single") %} {{ field.text("jid", _("device full jid"), required=true)}} {{ field.submit(_("Access")) }}