Mercurial > libervia-templates
view 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 |
line wrap: on
line source
{% extends 'base/base.html' %} {% import 'components/block.html' as block with context %} {% block body %} {{ icon_defs('file-image', 'exchange', 'calendar') }} <div class='invitation_header'> <h1 class='heading__subtitle'>{% trans %}Welcome {{name}}{% endtrans %}</h1> <p class='instructions--head'>{% trans %}You have been invited to participate with the community, please choose an action below{% endtrans %}</p> </div> {% 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 %} <iframe id='include_main' src='{{include_url}}'></iframe> {% endif %} {% endblock body %}