Some changes

This commit is contained in:
Imperadeiro98 2015-11-18 19:33:26 +00:00
parent a19225013b
commit db6166d22c
3 changed files with 4 additions and 5 deletions

View file

@ -81,7 +81,7 @@
#payment-methods-info(data-i18n="subscribe.payment_methods")
button.btn.btn-lg.btn-illustrated.parent-button(data-i18n="subscribe.parent_button")
button.btn.btn-lg.btn-illustrated.sale-button(title="#{view.saleButtonTitle}", data-i18n="subscribe.sale_button")
button.btn.btn-lg.btn-illustrated.sale-button(data-i18n="[title]subscribe.sale_button_title", data-i18n="subscribe.sale_button")
button.btn.btn-lg.btn-illustrated.purchase-button(data-i18n="subscribe.subscribe_title")
if view.state === 'declined'

View file

@ -4,12 +4,12 @@ div.well
a#thang-name-link
span= view.thangData.id
input.secret(value=view.thangData.id)
| (
| (
span(data-i18n="editor.level_components_type") Type
| :
| :
a#thang-type-link
span= view.thangData.thangType
input.secret(value=view.thangData.thangType)
| )
| )
#thang-components-edit-view

View file

@ -27,7 +27,6 @@ module.exports = class SubscribeModal extends ModalView
constructor: (options) ->
super(options)
@state = 'standby'
@saleButtonTitle = $.i18n.t('subscribe.sale_button_title')
afterRender: ->
super()