# HG changeset patch # User Goffi # Date 1556920687 -7200 # Node ID 9fe8fdcd53d903b451c3a20aa74bc23de7db16a3 # Parent 03c8fd941c0c0401cc506886422f23bd3b4a2150 invitation: show events/photo albums/file sharing from list of interests + removed specific CSS file diff -r 03c8fd941c0c -r 9fe8fdcd53d9 sat_templates/templates/default/invitation/welcome.html --- a/sat_templates/templates/default/invitation/welcome.html Fri May 03 23:56:11 2019 +0200 +++ b/sat_templates/templates/default/invitation/welcome.html Fri May 03 23:58:07 2019 +0200 @@ -1,11 +1,26 @@ {% extends 'base/base.html' %} +{% import 'components/block.html' as block with context %} {% block body %} +{{ icon_defs('file-image', 'exchange', 'calendar') }}
-

{% trans %}Welcome {{name}}{% endtrans %}

-

{% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}

+

{% trans %}Welcome {{name}}{% endtrans %}

+

{% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}

+{% if interests_map.event %} + {{ block.separator(_("events")) }} + {{block.interests_grid(interests_map.event, 'calendar')}} +{% endif %} +{% if interests_map.photos %} + {{ block.separator(_("photo albums")) }} + {{block.interests_grid(interests_map.photos, 'file-image')}} +{% endif %} +{% if interests_map.files %} + {{ block.separator(_("file sharing")) }} + {{block.interests_grid(interests_map.fis, 'exchange')}} +{% endif %} + {% if include_url is defined %} {% endif %} diff -r 03c8fd941c0c -r 9fe8fdcd53d9 sat_templates/templates/default/static/invitation.css --- a/sat_templates/templates/default/static/invitation.css Fri May 03 23:56:11 2019 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,27 +0,0 @@ -#body { - display: flex; - flex-direction: column; -} - -.invitation_header { - flex: 1 -} - -.invitation_header h1,p { - text-align: center; -} - -#include_main { - flex: 9 -} - -#include_main { - width: 100%; - margin: 0; - border: none; -} - -footer { - /* footer should already be displayed in included page */ - display: none; -}