comparison sat_templates/templates/default/invitation/welcome.html @ 197:9fe8fdcd53d9

invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file
author Goffi <goffi@goffi.org>
date Fri, 03 May 2019 23:58:07 +0200
parents e9f0a4215e46
children
comparison
equal deleted inserted replaced
196:03c8fd941c0c 197:9fe8fdcd53d9
1 {% extends 'base/base.html' %} 1 {% extends 'base/base.html' %}
2 {% import 'components/block.html' as block with context %}
2 3
3 {% block body %} 4 {% block body %}
5 {{ icon_defs('file-image', 'exchange', 'calendar') }}
4 <div class='invitation_header'> 6 <div class='invitation_header'>
5 <h1>{% trans %}Welcome {{name}}{% endtrans %}</h1> 7 <h1 class='heading__subtitle'>{% trans %}Welcome {{name}}{% endtrans %}</h1>
6 <p class='instructions'>{% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}</p> 8 <p class='instructions--head'>{% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}</p>
7 </div> 9 </div>
10
11 {% if interests_map.event %}
12 {{ block.separator(_("events")) }}
13 {{block.interests_grid(interests_map.event, 'calendar')}}
14 {% endif %}
15 {% if interests_map.photos %}
16 {{ block.separator(_("photo albums")) }}
17 {{block.interests_grid(interests_map.photos, 'file-image')}}
18 {% endif %}
19 {% if interests_map.files %}
20 {{ block.separator(_("file sharing")) }}
21 {{block.interests_grid(interests_map.fis, 'exchange')}}
22 {% endif %}
8 23
9 {% if include_url is defined %} 24 {% if include_url is defined %}
10 <iframe id='include_main' src='{{include_url}}'></iframe> 25 <iframe id='include_main' src='{{include_url}}'></iframe>
11 {% endif %} 26 {% endif %}
12 27