mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 22:08:01 +08:00
UX: Add info when poll is public.
This commit is contained in:
@ -5,6 +5,7 @@ export default Ember.Controller.extend({
|
||||
isNumber: Ember.computed.equal("poll.type", "number"),
|
||||
isRandom : Ember.computed.equal("poll.order", "random"),
|
||||
isClosed: Ember.computed.equal("poll.status", "closed"),
|
||||
isPublic: Ember.computed.equal("poll.public", "true"),
|
||||
pollsVoters: Ember.computed.alias("post.polls_voters"),
|
||||
|
||||
// shows the results when
|
||||
|
Reference in New Issue
Block a user