mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-03 08:21:07 +00:00
Made title dynamic
This commit is contained in:
parent
0807e7856c
commit
7f20ca7d8b
1 changed files with 4 additions and 1 deletions
|
|
@ -16,7 +16,10 @@ script(type='text/ng-template', id='modals/dropsEnabled.html')
|
|||
|
||||
script(type='text/ng-template', id='modals/pet-key.html')
|
||||
.modal-header
|
||||
h4=env.t('petKeyBegin')
|
||||
// Checks if user has 90 pets and 90 mounts. If so, displays "Beast Master/Mount Master".
|
||||
// Else if user has 90 pets, displays "Beast Master". Else, displays "Mount Master"
|
||||
- var masterTitle='{{petCount >= 90 && mountCount >= 90 ? env.t("beastMastName") + "/" + env.t("mountMastName") : petCount >= 90 ? env.t("beastMastName") : env.t("mountMastName")}}'
|
||||
h4=env.t('petKeyBegin', {title: masterTitle})
|
||||
.modal-body
|
||||
+gemButton
|
||||
figure
|
||||
|
|
|
|||
Loading…
Reference in a new issue