OpenSlides / openslides-backend

Backend service for OpenSlides 4+
MIT License
6 stars 25 forks source link

Invitation E-Mail: Add more placeholders #2634

Open MSoeb opened 1 week ago

MSoeb commented 1 week ago

Current behavior The invitation mail misses some placeholders to cover various formulation requirements.

Wanted behavior Please add placeholders for:

--> Admins should have the possibility to add these placeholders to the invitation mail.

Additionally the gray help text in settings > participants > Email > Email Subject should be rewritten to include the new placeholders. New text: You can use {event_name}, {username}, {title}, {given_name}, {surname} and {structure_level} as placeholder.

peb-adr commented 1 week ago

In https://github.com/OpenSlides/OpenSlides/issues/6022 it was also called for groups to be added to the list of placeholders.\ I'll edit the original comment of this issue to include this.\ We discussed that if groups can be included it should be doable analogous to structure_level.

peb-adr commented 1 week ago

I also want to remark: The placeholder strings should be analogous to the field names used in the models.yml. This way they are more predictable (especially to the more technical knowledgeable users)

Additionally the gray help text in settings > participants > Email > Email Subject should be rewritten to include the new placeholders. New text: You can use {event_name}, {username}, {title}, {given_name}, {surname} and {structure_level} as placeholder.

This should become: "You can use {event_name}, {username}, {title}, {first_name}, {last_name} and {structure_level} as placeholder."