annotate sat_templates/templates/default/invitation/welcome.html @ 300:2a697b1376f1

bulma (components/block): disco entities's `icon_name` is used as icon when available: otherwide, `default_icon_name` is used.
author Goffi <goffi@goffi.org>
date Sat, 20 Feb 2021 13:37:19 +0100
parents 9fe8fdcd53d9
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
6
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
1 {% extends 'base/base.html' %}
197
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
2 {% import 'components/block.html' as block with context %}
6
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
3
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
4 {% block body %}
197
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
5 {{ icon_defs('file-image', 'exchange', 'calendar') }}
6
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
6 <div class='invitation_header'>
197
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
7 <h1 class='heading__subtitle'>{% trans %}Welcome {{name}}{% endtrans %}</h1>
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
8 <p class='instructions--head'>{% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}</p>
6
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
9 </div>
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
10
197
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
11 {% if interests_map.event %}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
12 {{ block.separator(_("events")) }}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
13 {{block.interests_grid(interests_map.event, 'calendar')}}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
14 {% endif %}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
15 {% if interests_map.photos %}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
16 {{ block.separator(_("photo albums")) }}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
17 {{block.interests_grid(interests_map.photos, 'file-image')}}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
18 {% endif %}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
19 {% if interests_map.files %}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
20 {{ block.separator(_("file sharing")) }}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
21 {{block.interests_grid(interests_map.fis, 'exchange')}}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
22 {% endif %}
9fe8fdcd53d9 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
Goffi <goffi@goffi.org>
parents: 164
diff changeset
23
6
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
24 {% if include_url is defined %}
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
25 <iframe id='include_main' src='{{include_url}}'></iframe>
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
26 {% endif %}
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
27
529fff4473c1 invitation: invitation welcome page, first draft
Goffi <goffi@goffi.org>
parents:
diff changeset
28 {% endblock body %}