Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invitation E-Mail: Add more placeholders #2634

Closed
5 tasks
MSoeb opened this issue Sep 17, 2024 · 2 comments · Fixed by #2679
Closed
5 tasks

Invitation E-Mail: Add more placeholders #2634

MSoeb opened this issue Sep 17, 2024 · 2 comments · Fixed by #2679
Assignees
Labels
enhancement General enhancement which is neither bug nor feature Schrödinger projectname
Milestone

Comments

@MSoeb
Copy link

MSoeb commented Sep 17, 2024

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

Wanted behavior
Please add placeholders for:

  • Title (of account)
  • Given name
  • Surname
  • Structure level (if possible to add as placeholder)
  • Groups (analogous to structure_level)

--> 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.

@MSoeb MSoeb added enhancement General enhancement which is neither bug nor feature Schrödinger projectname labels Sep 17, 2024
@MSoeb MSoeb added this to the 4.2 milestone Sep 17, 2024
@MSoeb MSoeb transferred this issue from OpenSlides/openslides-client Sep 23, 2024
@peb-adr
Copy link
Member

peb-adr commented Sep 24, 2024

In OpenSlides/OpenSlides#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
Copy link
Member

peb-adr commented Sep 24, 2024

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."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement General enhancement which is neither bug nor feature Schrödinger projectname
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants