mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 07:07:35 +01:00
Some things I tried
This commit is contained in:
@@ -59,8 +59,8 @@
|
|||||||
"timeTravelers": "Time Travelers",
|
"timeTravelers": "Time Travelers",
|
||||||
"timeTravelersTitleNoSub": "<%= linkStartTyler %>Tyler<%= linkEnd %> and <%= linkStartVicky %>Vicky<%= linkEnd %>",
|
"timeTravelersTitleNoSub": "<%= linkStartTyler %>Tyler<%= linkEnd %> and <%= linkStartVicky %>Vicky<%= linkEnd %>",
|
||||||
"timeTravelersTitle": "Mysterious Time Travelers",
|
"timeTravelersTitle": "Mysterious Time Travelers",
|
||||||
"timeTravelersPopoverNoSub": "You'll need a Mystic Hourglass trinket to summon the mysterious Time Travelers! <%= linkStart %>Subscribers<%= linkEnd %> earn one Mystic Hourglass for every three months of consecutive subscribing. Come back when you have a Mystic Hourglass, and the Time Travelers will fetch you a Subscriber Item Set from the past.... or maybe even the future.",
|
"timeTravelersPopoverNoSub": "You'll need a Mystic Hourglass to summon the mysterious Time Travelers! <%= linkStart %>Subscribers<%= linkEnd %> earn one Mystic Hourglass for every three months of consecutive subscribing. Come back when you have a Mystic Hourglass, and the Time Travelers will fetch you a Subscriber Item Set from the past.... or maybe even the future.",
|
||||||
"timeTravelersPopover": "We see you have a Mystic Hourglass thingamajig, so we will happily travel back in time for you! Please choose the Mystery Item Set you would like. You can see a list of the past item sets <%= linkStart %>here<%= linkEnd %>! If those don't satisfy you, perhaps you'd be interested in one of our fashionably futuristic Steampunk Item Sets?",
|
"timeTravelersPopover": "We see you have a Mystic Hourglass, so we will happily travel back in time for you! Please choose the Mystery Item Set you would like. You can see a list of the past item sets <%= linkStart %>here<%= linkEnd %>! If those don't satisfy you, perhaps you'd be interested in one of our fashionably futuristic Steampunk Item Sets?",
|
||||||
"timeTravelersAlreadyOwned": "Congratulations! You already own all of the Mystery Items. Thanks for supporting the site!",
|
"timeTravelersAlreadyOwned": "Congratulations! You already own all of the Mystery Items. Thanks for supporting the site!",
|
||||||
"mysticHourglassPopover": "Mystic Hourglass allows you to purchase previous months' subscriber sets.",
|
"mysticHourglassPopover": "Mystic Hourglass allows you to purchase previous months' subscriber sets.",
|
||||||
"subUpdateCard": "Update Card",
|
"subUpdateCard": "Update Card",
|
||||||
|
|||||||
@@ -20,11 +20,18 @@
|
|||||||
|
|
||||||
.row: .col-md-12
|
.row: .col-md-12
|
||||||
li.customize-menu.inventory-gear
|
li.customize-menu.inventory-gear
|
||||||
p!=env.t('timeTravelersAlreadyOwned', {linkStart: "<a href='https://habitica.com/#/options/settings/subscription' target='_blank'>", linkEnd: "</a>"})
|
p(ng-if='Object.keys(Content.timeTravelerStore(user.items.gear.owned)).length == 0')=env.t('timeTravelersAlreadyOwned')
|
||||||
|
b {{Object.keys(Content.timeTravelerStore(user.items.gear.owned)).length}}
|
||||||
|
b {{Object.keys(user.items.gear.owned).length}}
|
||||||
|
b {{Object.keys(user.items.gear.owned)}}
|
||||||
|
b {{Object.getOwnPropertyNames(user.items.gear.owned).length}}
|
||||||
|
b {{Object.getOwnPropertyNames(user.items.gear.owned)}}
|
||||||
|
b {{user.items.gear.owned}}
|
||||||
|
b {{Content.timeTravelerStore(user.items.gear.owned)}}
|
||||||
menu.pets-menu(label='{{::set.text}}', ng-repeat='set in Content.timeTravelerStore(user.items.gear.owned)')
|
menu.pets-menu(label='{{::set.text}}', ng-repeat='set in Content.timeTravelerStore(user.items.gear.owned)')
|
||||||
div(ng-repeat='item in set.items')
|
div(ng-repeat='item in set.items')
|
||||||
button.customize-option(class='shop_{{::item.key}}',
|
button.customize-option(class='shop_{{::item.key}}',
|
||||||
popover='{{::item.notes()}}', popover-title='{{::item.text()}}',
|
popover='{{::item.notes()}}', popover-title='{{::item.text()}}',
|
||||||
popover-trigger='mouseenter', popover-placement='right',
|
popover-trigger='mouseenter', popover-placement='right',
|
||||||
popover-append-to-body='true',
|
popover-append-to-body='true',
|
||||||
ng-click='user.ops.buyMysterySet({params:{key:set.key}})')
|
ng-click='user.ops.buyMysterySet({params:{key:set.key}})')
|
||||||
Reference in New Issue
Block a user