ux improvements
This commit is contained in:
@@ -17,7 +17,7 @@ td.actions
|
||||
i.fa.fa-bell.fa-stack-small
|
||||
i.fa.fa-ban.revoke
|
||||
App.MarkListHelpedButtonView content=view.content
|
||||
App.RemoveListNeedsPaymentView content=view.content
|
||||
/App.RemoveListNeedsPaymentView content=view.content
|
||||
App.CloseListButtonView content=view.content
|
||||
|
||||
button.show-list.button{action "showList" view.content.id}: span
|
||||
|
||||
@@ -33,11 +33,13 @@ App.ApplicationRoute = Ember.Route.extend
|
||||
ok: options.ok
|
||||
listNeedsPayment: ->
|
||||
@get('controller').secured ->
|
||||
@set 'list.needs_payment', true
|
||||
Ember.$.post "#{$data_host}/user/list_needs_payment.json"
|
||||
#Ember.$.post("#{$data_host}/user/list_needs_payment.json").then (res) =>
|
||||
#@set('list.needs_payment', true) # also done by faye
|
||||
listNeedsHelp: ->
|
||||
@get('controller').secured ->
|
||||
@set 'list.needs_help', true
|
||||
Ember.$.post "#{$data_host}/user/needs_help.json"
|
||||
#Ember.$.post("#{$data_host}/user/needs_help.json").then (res) =>
|
||||
#@set('list.needs_help', true) # also done by faye
|
||||
|
||||
Reference in New Issue
Block a user