Mercurial > libervia-templates
comparison sat_templates/templates/bulma/list/create_from_template.html @ 303:877f01720036
bulma (lists): creation, invitations, item deletion:
- add interface to create lists from templates
- show list specific icon when available in lists discovery
- owned lists can be deleted from lists discovery
- lists can now be created from templates
- when edition is allowed, a delete button let now delete a list item from single item
view
- new button to launch invitation manager from list overview
author | Goffi <goffi@goffi.org> |
---|---|
date | Sat, 20 Feb 2021 13:39:11 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
302:60979d67eae7 | 303:877f01720036 |
---|---|
1 {% extends 'base/base.html' %} | |
2 {% import 'input/form.html' as form with context %} | |
3 {% import 'input/field.html' as field with context %} | |
4 | |
5 {% block body %} | |
6 {{ icon_defs(list_template.icon) }} | |
7 <section class="section"> | |
8 <article class="message is-info"> | |
9 <div class="message-body"> | |
10 {% trans list_type=list_template.name %} | |
11 You're about to create a new list ({{list_type}}). | |
12 {% endtrans %} | |
13 </div> | |
14 </article> | |
15 {% call form.form(class="form--paper form__panel--vertical") %} | |
16 {{ field.text("name", _("name of the list"), required=true) }} | |
17 <div class="box"> | |
18 <label class="label"> | |
19 {% trans %}Is this list private or public?{% endtrans %} | |
20 </label> | |
21 <div class="message"> | |
22 <div class="message-body is-dark has-whitespace-pre-line"> | |
23 {%- trans notrimmed -%} | |
24 Private lists are only visible by yourself (and people you invite later). | |
25 Public lists can be accessed by anybody. | |
26 {%- endtrans -%} | |
27 </div> | |
28 </div> | |
29 {{ field.choices("access", (("private", _("private")), ("public", _("public"))), checked="private") }} | |
30 </div> | |
31 {{ field.submit(_("Create list")) }} | |
32 {% endcall %} | |
33 </section> | |
34 {% endblock body %} |