-
-
Notifications
You must be signed in to change notification settings - Fork 395
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
Participatory process admins can invite to users to join a meeting #1879
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1879 +/- ##
=========================================
Coverage ? 98.49%
=========================================
Files ? 1133
Lines ? 25502
Branches ? 0
=========================================
Hits ? 25117
Misses ? 385
Partials ? 0 |
3c3007e
to
e25e2e2
Compare
decidim-core/config/locales/en.yml
Outdated
@@ -267,6 +267,7 @@ en: | |||
ignore: |- | |||
If you don't want to accept the invitation, please ignore this email.<br /> | |||
Your account won't be created until you access the link above and set your password. | |||
invited_you: "%{invited_by} has invited you to %{application}, you can accept it through the link below." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Correction: %{invited_by} has invited you to %{application}. You can accept the invitation through the link below:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is not even used lol 🎉
decidim-core/config/locales/en.yml
Outdated
@@ -267,6 +267,7 @@ en: | |||
ignore: |- | |||
If you don't want to accept the invitation, please ignore this email.<br /> | |||
Your account won't be created until you access the link above and set your password. | |||
invited_you: "%{invited_by} has invited you to %{application}, you can accept it through the link below." | |||
invited_you_as_admin: "%{invited_by} has invited you as an admin of %{application}, you can accept it through the link below." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you change this as well?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You missed the correct line bro 😂
decidim-core/config/locales/en.yml
Outdated
@@ -267,6 +267,7 @@ en: | |||
ignore: |- | |||
If you don't want to accept the invitation, please ignore this email.<br /> | |||
Your account won't be created until you access the link above and set your password. | |||
invited_you: "%{invited_by} has invited you to %{application}, you can accept it through the link below." | |||
invited_you_as_admin: "%{invited_by} has invited you as an admin of %{application}, you can accept it through the link below." | |||
someone_invited_you: Someone has invited you to %{application}, you can accept it through the link below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aaand this? xD
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ditto
@@ -45,6 +45,18 @@ en: | |||
admin: | |||
exports: | |||
registrations: Registrations | |||
invite_join_meeting_mailer: | |||
invite: | |||
invited_you_to_join_a_meeting: "%{invited_by} has invited you to join a meeting at %{application}, you can accept it through the link below." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this as per corrections suggested above 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I actually didn't want to approve but to request changes 🗡
|
||
helper_method :routes | ||
|
||
def invite(user, meeting, invited_by) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs?
b0b8f8d
to
b054dac
Compare
I made the changes you requested.
🎩 What? Why?
Participatory process admins can invite to users to join a meeting using an email. It works with registered and unregistered users.
📌 Related Issues
📋 Subtasks
📷 Screenshots (optional)
👻 GIF