annotate sat_templates/templates/default/photo/discover.html @ 339:c5de5514a251

(default) blog/item: fix syntax error
author Goffi <goffi@goffi.org>
date Fri, 01 Oct 2021 16:31:15 +0200
parents 03c8fd941c0c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
129
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
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
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
3 {% import 'input/form.html' as form with context %}
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% import 'input/field.html' as field with context %}
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
5
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
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
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
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
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
21 {{ field.text("jid", _("device full jid"), required=true)}}
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
22 {{ field.submit(_("Access")) }}
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
23 {% endcall %}
ca42dc037bbf file (discover): new discovery page:
Goffi <goffi@goffi.org>
parents:
diff changeset
24 {% endblock body %}