annotate sat_templates/templates/default/invitation/welcome.html @ 209:d586ea13cfed

blog: fixed setting of title: title was not show when embedded was True, but this is always the case (articles.html template is always shown in base.html). A new "blog_page" boolean is set when articles.html is the main page displayed (i.e. blog posts are not embedded in an other page like events), and use to display the title, fixing the originally intented behaviour. fix 298
author Goffi <goffi@goffi.org>
date Fri, 14 Jun 2019 12:49:04 +0200
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 %}