Merge branch 'paglias/fix-wrong-subs' into develop

This commit is contained in:
Matteo Pagliazzi 2017-04-11 17:07:15 +02:00
commit 342fc2e344

View file

@ -87,7 +87,7 @@ script(type='text/ng-template', id='modals/send-gift.html')
.panel-heading=env.t('subscription')
.panel-body
.form-group
.radio(ng-repeat='block in Content.subscriptionBlocks | toArray | omit:"discount==true" | orderBy:"months"', ng-if="block.type !== 'group'")
.radio(ng-repeat='block in Content.subscriptionBlocks | toArray | omit:"discount==true" | orderBy:"months"', ng-if="block.target !== 'group' && block.canSubscribe === true")
label
input(type="radio", name="subRadio", ng-value="block.key", ng-model='gift.subscription.key')
=env.t('sendGiftSubscription', {price: '{{::block.price}}', months: '{{::block.months}}'})