-
-
Notifications
You must be signed in to change notification settings - Fork 405
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
Component item created notifications #2646
Conversation
eb8fd6a
to
e8abbeb
Compare
Codecov Report
@@ Coverage Diff @@
## master #2646 +/- ##
==========================================
+ Coverage 98.35% 98.82% +0.47%
==========================================
Files 1443 1445 +2
Lines 33842 33909 +67
==========================================
+ Hits 33285 33511 +226
+ Misses 557 398 -159 |
e8abbeb
to
43ddd81
Compare
def participatory_space_title | ||
return unless participatory_space | ||
|
||
participatory_space.title[I18n.locale.to_s] |
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 think it'd be nice if we used this here:
It's a little cleverer as it tries some fallbacks, what do you think?
bd2d296
to
5687296
Compare
return unless resource | ||
|
||
if resource.respond_to?(:title) | ||
translated_attribute(resource.title) |
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 method needs the current organization, won't it fail here?
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.
Fixed
5687296
to
73bc78e
Compare
a88d3e6
to
b2b5f92
Compare
a5403b4
to
6b55ee8
Compare
🎩 What? Why?
Sends a notification to participatory space followers when a meeting or proposal are created.
I've also fixed a typo "an simple event" to "a simple event"
📌 Related Issues
📋 Subtasks
CHANGELOG
entry