Reorder Sections and Separate Active Mounts/Pets
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"pets": "Pets",
|
||||
"activePet": "Active Pet",
|
||||
"noActivePet": "No Active Pet",
|
||||
"petsFound": "Pets Found",
|
||||
"magicPets": "Magic Potion Pets",
|
||||
"rarePets": "Rare Pets",
|
||||
|
||||
@@ -13,7 +13,9 @@ mixin statList(calculatedStat, popover, text, useOneTimeBinding)
|
||||
=': {{' + binding + calculatedStat + '}}'
|
||||
|
||||
include ./stats/basic-stats
|
||||
include ./stats/equipment
|
||||
include ./stats/costume
|
||||
include ./stats/attributes
|
||||
include ./stats/equipment
|
||||
include ./stats/pets-and-mounts
|
||||
hr
|
||||
include ./stats/costume
|
||||
include ./stats/active-pet-and-mount
|
||||
@@ -0,0 +1,5 @@
|
||||
div(ng-show='user._id != profile._id')
|
||||
h4
|
||||
table.table.table-striped
|
||||
+basicRow('activePet', '{{::profile.items.currentPet ? (isBasicAnimal(profile.items.currentPet, \'pet\') ? env.t(\'petName\', {potion: Content.hatchingPotions[petPotion].text(), egg: Content.eggs[petEgg].text()}) : env.t(Content.specialPets[profile.items.currentPet])) : env.t(\'noActivePet\')}}')
|
||||
+basicRow('activeMount', '{{::profile.items.currentMount ? (isBasicAnimal(profile.items.currentMount, \'mount\') ? env.t(\'mountName\', {potion: Content.hatchingPotions[mountPotion].text(), mount: Content.eggs[mountEgg].text()}) : env.t(Content.specialMounts[profile.items.currentMount])) : env.t(\'noActiveMount\')}}')
|
||||
@@ -1,7 +1,6 @@
|
||||
h4(ng-show='profile.preferences.costume')=env.t('costume')
|
||||
table.table.table-striped(ng-show='profile.preferences.costume')
|
||||
tr(ng-repeat='(itemType,costume) in profile.items.gear.costume', ng-init='piece=Content.gear.flat[costume]', ng-show='piece')
|
||||
td
|
||||
strong {{piece.text()}}
|
||||
+basicRow('activePet', '{{::isBasicAnimal(profile.items.currentPet, \'pet\') ? env.t(\'petName\', {potion: Content.hatchingPotions[petPotion].text(), egg: Content.eggs[petEgg].text()}) : env.t(Content.specialPets[profile.items.currentPet])}}')(ng-if='user._id != profile._id && profile.items.currentPet')
|
||||
+basicRow('activeMount', '{{::isBasicAnimal(profile.items.currentMount, \'mount\') ? env.t(\'mountName\', {potion: Content.hatchingPotions[mountPotion].text(), mount: Content.eggs[mountEgg].text()}) : env.t(Content.specialMounts[profile.items.currentMount])}}')(ng-if='user._id != profile._id && profile.items.currentMount')
|
||||
div(ng-show='profile.preferences.costume')
|
||||
h4=env.t('costume')
|
||||
table.table.table-striped
|
||||
tr(ng-repeat='(itemType,costume) in profile.items.gear.costume', ng-init='piece=Content.gear.flat[costume]', ng-show='piece')
|
||||
td
|
||||
strong {{piece.text()}}
|
||||
Reference in New Issue
Block a user