Mercurial > libervia-templates
view sat_templates/templates/default/app/app.html @ 183:240bbac435f4
base: implemented language button:
- `component.menu` can now be used with a `{% call %}`, allowing extra HTML to be added after in the <nav> element
- a language dropdown is shown if more than one translation is available, allowing to change page locale
- if javascript is available, only the dropdown is visible, and changing it reload the page with new locale
- if javascript is not available, a submit button is display to change the locale
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 10 Apr 2019 21:05:58 +0200 |
parents | 6c251da9a4f3 |
children |
line wrap: on
line source
{% extends 'base/base.html' %} {% block body %} <article class="box box--large"> <p> {% trans app_name=C.APP_NAME %} The following link allows you to access {{app_name}} web application, which is a more feature rich way to use this software (but it is also a bit more heavy and complex to use). {% endtrans %} </p> <p class="warning_text"> {% trans %} Please note that current version of web application use legacy technologies and will be rewritten for next version of Salut à Toi (0.8). It does contain some bugs and it is under minimal maintenance. {% endtrans %} </p> <p id="link_section"> <a href="/libervia.html">{% trans %}Click here to access the web application{% endtrans %}</a>. </p> <p> {% trans %} Next time you can go directly to the above URL. {% endtrans %} </p> </article> {% endblock body %}