habitica/website/views/shared/modals/limited.jade

50 lines
1.7 KiB
Text
Raw Normal View History

2014-02-14 00:57:00 +00:00
//Valentine
script(id='modals/valentine.html', type='text/ng-template')
.modal-header
h4
.inventory_special_valentine.pull-right
=env.t('valentineCard')
.modal-body
.bg-info(style='padding:10px')
p To: {{user.profile.name}}, From: {{user.items.special.valentineReceived[0]}}
hr
2015-02-12 13:39:10 +00:00
ul.list-unstyled(ng-switch='::Math.floor(Math.random()*4)')
2015-02-11 02:47:40 +00:00
li(ng-switch-when='0')
2015-08-11 23:47:12 +00:00
markdown!=env.t('valentine0')
2015-02-11 02:47:40 +00:00
li(ng-switch-when='1')
2015-08-11 23:47:12 +00:00
markdown!=env.t('valentine1')
2015-02-12 13:39:10 +00:00
li(ng-switch-when='2')
2015-08-11 23:47:12 +00:00
markdown!=env.t('valentine2')
2015-02-12 13:39:10 +00:00
li(ng-switch-default)
2015-08-11 23:47:12 +00:00
markdown!=env.t('valentine3')
2014-02-14 00:57:00 +00:00
p
small For enduring such a saccharine poem, you both receive the "Adoring Friends" badge!
.modal-footer
2014-12-30 02:58:28 +00:00
button.btn.btn-default(ng-click='user.ops.readValentine({});$close()')=env.t('ok')
// New Year's
script(id='modals/nye.html', type='text/ng-template')
.modal-header
h4
.inventory_special_nye.pull-right
=env.t('nyeCard')
.modal-body
.bg-info(style='padding:10px')
p To: {{user.profile.name}}, From: {{user.items.special.nyeReceived[0]}}
hr
ul.list-unstyled(ng-switch='::Math.floor(Math.random()*5)')
2014-12-31 02:52:06 +00:00
li(ng-switch-when='0')
=env.t('newYear0')
li(ng-switch-when='1')
=env.t('newYear1')
li(ng-switch-when='2')
=env.t('newYear2')
li(ng-switch-when='3')
=env.t('newYear3')
li(ng-switch-default)
=env.t('newYear4')
2014-12-30 02:58:28 +00:00
p
small For celebrating the new year together, you both receive the "Auld Acquaintance" badge!
.modal-footer
button.btn.btn-default(ng-click='user.ops.readNYE({});$close()')=env.t('ok')