annotate sat_templates/templates/bulma/invitation/welcome.html @ 247:40fccd3b7cf0

updated code to handle blog items following data structure change in backend/Libervia
author Goffi <goffi@goffi.org>
date Thu, 16 Jul 2020 09:08:32 +0200
parents cb08d92f181f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
240
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends 'base/base.html' %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
2 {% import 'components/block.html' as block with context %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
3
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% block body %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
5 {{ icon_defs('file-image', 'exchange', 'calendar') }}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <section class="section">
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
7 <h1 class='title is-4'>{% trans %}Welcome {{name}}{% endtrans %}</h1>
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
8 <div class="message is-info">
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
9 <div class="message-body">
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
10 {% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
11 </div>
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
12 </div>
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
13
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
14 {% if interests_map.event %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
15 {{ block.separator(_("events")) }}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
16 {{block.interests_grid(interests_map.event, 'calendar')}}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
17 {% endif %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
18 {% if interests_map.photos %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
19 {{ block.separator(_("photo albums")) }}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
20 {{block.interests_grid(interests_map.photos, 'file-image')}}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
21 {% endif %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
22 {% if interests_map.files %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
23 {{ block.separator(_("file sharing")) }}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
24 {{block.interests_grid(interests_map.fis, 'exchange')}}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
25 {% endif %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
26
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
27 {% if include_url is defined %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
28 <iframe id='include_main' src='{{include_url}}'></iframe>
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
29 {% endif %}
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
30 </section>
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
31
cb08d92f181f bulma (invitation/welcome): design for the welcome page
Goffi <goffi@goffi.org>
parents:
diff changeset
32 {% endblock body %}