Mercurial > libervia-templates
view sat_templates/templates/default/ticket/discover.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 | e9f0a4215e46 |
children |
line wrap: on
line source
{% extends 'base/base.html' %} {% import 'components/block.html' as block with context %} {% import 'components/images.html' as images with context %} {% import 'components/avatar.html' as avatar with context %} {% import 'input/form.html' as form with context %} {% import 'input/field.html' as field with context %} {% block body %} {{ icon_defs('clipboard') }} <p class="instructions--head"> {% trans %} Please select a tickets tracker {% endtrans %} </p> {% if tickets_trackers is defined %} <div class="disco_tickets"> {{block.disco_icon_grid(tickets_trackers, 'clipboard')}} </div> {% endif %} {% call form.form(class="form--single") %} {{ field.text("jid", _("tickets tracker jid"), required=true)}} {{ field.submit(_("Access")) }} {% endcall %} {% endblock body %}