mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-04 09:39:23 +00:00
Rare Pets Layout
Shows rare pets header always. Shows golden missing rare pet graphic if Hydra not obtained with link to how to obtain it.
This commit is contained in:
parent
d7b24883b4
commit
afcd2b3803
1 changed files with 5 additions and 3 deletions
|
|
@ -21,10 +21,12 @@
|
|||
button(class="pet-button pet-not-owned", ng-hide='hasPet(pet.name, potion.name)')
|
||||
img(src='/bower_components/habitrpg-shared/img/PixelPaw.png')
|
||||
|
||||
h4 Rare Pets
|
||||
h4 Rare Pets
|
||||
menu
|
||||
div(ng-if='hasPet("Wolf", "Veteran") || hasPet("Wolf", "Cerberus") || hasPet("Dragon", "Hydra")')
|
||||
div
|
||||
button(ng-if='hasPet("Wolf", "Veteran")', class="pet-button Pet-Wolf-Veteran", ng-class='{active: isCurrentPet("Wolf", "Veteran")}', ng-click='choosePet("Wolf", "Veteran")', tooltip='Veteran Wolf')
|
||||
button(ng-if='hasPet("Wolf", "Cerberus")', class="pet-button Pet-Wolf-Cerberus", ng-class='{active: isCurrentPet("Wolf", "Cerberus")}', ng-click='choosePet("Wolf", "Cerberus")', tooltip='Cerberus Pup')
|
||||
button(ng-if='hasPet("Dragon", "Hydra")', class="pet-button Pet-Dragon-Hydra", ng-class='{active: isCurrentPet("Dragon", "Hydra")}', ng-click='choosePet("Dragon", "Hydra")', tooltip='Hydra Pet')
|
||||
|
||||
a(target='_blank', href='https://github.com/HabitRPG/habitrpg/wiki/Contributing')
|
||||
button(ng-if='!hasPet("Dragon", "Hydra")', class="pet-button pet-not-owned", popover-trigger='mouseenter', popover-placement='right', popover="Click the gold paw to learn more about how you can obtain this rare pet through contributing to HabitRPG!", popover-title='How to Get this Pet!')
|
||||
img(src='/bower_components/habitrpg-shared/img/PixelPaw-Gold.png')
|
||||
|
|
|
|||
Loading…
Reference in a new issue