Mercurial > libervia-templates
annotate sat_templates/templates/bulma/login/logged.html @ 413:0190a0d32909 default tip
Forum: Major redesign of forums:
Forums have been redesigned. They follow the new general design with 2 or 3 panels,
allowing to have directly a forum if one is found/set up, and a panel on the left to
search/discover other ones.
Categories have been rewritten to be usable with pubsub relationships, a XEP-0277 type
node is used for topics, and each item has a comments node for the threads.
The thread view is set in `forum/show_messages.html` template. It has a header with a
search box and a button to (un)subscribe.
Items are displayed with the same macros as for the blog items.
Below a room is set for editor, tags and attachments.
rel 463
| author | Goffi <goffi@goffi.org> |
|---|---|
| date | Fri, 05 Sep 2025 21:54:09 +0200 |
| parents | 6895500a42d6 |
| children |
| rev | line source |
|---|---|
| 230 | 1 {% set post_confirm_message=_("You have been logged correctly") %} |
|
327
6895500a42d6
bulma (login/logged): don't display breadcrumbs
Goffi <goffi@goffi.org>
parents:
230
diff
changeset
|
2 {% set no_breadcrumps=true %} |
| 230 | 3 {% if not embedded %}{% extends 'base/base.html' %}{% endif %} |
| 4 {% import 'input/form.html' as form with context %} | |
| 5 {% import 'input/field.html' as field with context %} | |
| 6 | |
| 7 {% block title %}{{C.APP_NAME}}{% endblock %} | |
| 8 | |
| 9 {% block confirm_message %} | |
| 10 {% trans %}You have been logged correctly{% endtrans %} | |
| 11 {% endblock confirm_message %} | |
| 12 | |
| 13 {% block body %} | |
| 14 <section class="section" id='logged'> | |
| 15 <div class='message'> | |
| 16 <div class="message-body"> | |
| 17 {% if guest_session %} | |
| 18 <p>{% trans %}You are logged as a guest{% endtrans %}</p> | |
| 19 {% else %} | |
| 20 <p>{% trans name='<span class="logged_profile">'|safe + profile + '</span>'|safe %}You are logged under the account {{name}} {% endtrans %}</p> | |
| 21 {% endif %} | |
| 22 <p>{% trans session_started='<span class="logged_time">'|safe + session_started|date_fmt('relative') + '</span>'|safe %}You logged {{session_started}}{% endtrans %}</p> | |
| 23 </div> | |
| 24 </div> | |
| 25 {% call form.form() %} | |
| 26 {{ field.meta('type', 'disconnect') }} | |
| 27 {{ field.submit(_("Disconnect")) }} | |
| 28 {% endcall %} | |
| 29 </section> | |
| 30 {% endblock body %} |
