-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Display reshared poll #5782
Display reshared poll #5782
Conversation
@@ -14,11 +14,18 @@ app.views.Poll = app.views.Base.extend({ | |||
|
|||
presenter: function(){ | |||
var defaultPresenter = this.defaultPresenter(); | |||
var show_form = defaultPresenter.loggedIn && | |||
!this.model.attributes.already_participated_in_poll; | |||
var isReshare = (this.model.get('post_type') == 'Reshare'); |
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.
Expected '===' and instead saw '=='.
6cb7123
to
f023897
Compare
Nice work! How about, for the text, "You can participate in this poll on the <%= original_post_link %>." Your text is fine, but this version seems, I think, a little less formal and more inviting. |
f023897
to
81cd175
Compare
@goobertron Thank you for your suggestion. I changed the text. |
Great, thanks! |
Thank you! |
Supersedes #4928 and #5565.