Mercurial > libervia-templates
annotate sat_templates/templates/default/event/attendance.html @ 411:f7a434581872 default tip
chat: Add forward, rich editing and extra recipients:
- There is a new "forward" menu in message. For now, a simple prompt ask for recipient JID.
- A new "extra" menu is available next to input field. Inside there are 2 items for now:
add extra recipient, and toggle rich edit mode.
- Extra recipient option add a field to add an email-like "to", "cc" or "bcc" recipients.
- Rich edit let use rich styling such as bold, italic, underline, etc.
rel 461
| author | Goffi <goffi@goffi.org> |
|---|---|
| date | Fri, 04 Jul 2025 17:33:22 +0200 |
| parents | e9f0a4215e46 |
| children |
| rev | line source |
|---|---|
|
37
eb9a42fca6c8
input/form: added csrf_token hidden field if it is defined, and import form with context to get this variable
Goffi <goffi@goffi.org>
parents:
20
diff
changeset
|
1 {% import 'input/form.html' as form with context %} |
| 17 | 2 {% import 'input/field.html' as field with context %} |
| 11 | 3 |
| 17 | 4 <div class="attendance box"> |
| 20 | 5 <p class="poll_instructions">{% trans %}Please indicate if you plan to attend the event:{% endtrans %}</p> |
| 11 | 6 {% call form.form() %} |
| 7 {{ field.meta("type", "attendance") }} | |
|
19
422c54e0204a
event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents:
17
diff
changeset
|
8 {{ field.meta("service", event.invitees_service) }} |
|
422c54e0204a
event: adaptation to changes in backend/Libervia + background_image can now be specified in template data
Goffi <goffi@goffi.org>
parents:
17
diff
changeset
|
9 {{ field.meta("node", event.invitees_node) }} |
| 11 | 10 <div class="attending"> |
| 20 | 11 {{ field.choices("attend", (("yes", _("yes")), ("no", _("no")), ("maybe", _("maybe"))), checked=invitee.attend) }} |
| 11 | 12 </div> |
| 17 | 13 <div class="guests"> |
| 20 | 14 {{ field.int("guests", label=_("How many people will come (including you)?"), init=invitee.get("guests", 1)) }} |
| 17 | 15 </div> |
| 16 <div class="submit"> | |
| 17 {{ field.submit() }} | |
| 18 </div> | |
| 11 | 19 {% endcall %} |
| 20 </div> |
