lib/assets/javascripts/widgets/accreditor/main.js.coffee in ende-0.5.14 vs lib/assets/javascripts/widgets/accreditor/main.js.coffee in ende-0.5.15
- old
+ new
@@ -37,11 +37,11 @@
user.validate().done (record) ->
if !record.errors.length
user.save accreditation.done, accreditation.failed
else
ui.status = "error blocked"
- ui.button_label = "Confira os errors acima."
+ ui.button_label = "Ops... confira os errors acima."
setTimeout ->
ui.status = "error"
ui.button_label = "Cadastrar"
, 2000
@@ -75,10 +75,10 @@
sandbox.emit "accreditor.#{@identifier}.accredited", @
, 2000
ui.status = "success blocked"
- ui.button_label = "Cadastro realizado! Preparando seu mural de anĂșncios..."
+ ui.button_label = "Cadastro concluĂdo, redirecionando..."
failed: =>
sandbox.emit "accreditor.#{@identifier}.accreditation_failed", @errors
ui.status = "error blocked"