From 0039a173663d9aa373e8d4c0a87c333d837009cc Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Tue, 21 Jul 2015 13:57:13 -0500 Subject: [PATCH] WIP(death): More display tweaks --- common/locales/en/death.json | 3 ++- website/views/shared/modals/death.jade | 7 ++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/common/locales/en/death.json b/common/locales/en/death.json index 82512a7978..c7b3749003 100644 --- a/common/locales/en/death.json +++ b/common/locales/en/death.json @@ -1,6 +1,7 @@ { "lostAllHealth": "You lost all your Health!", - "deathPenaltyDetails": "Don't despair! You lost a Level, all your Gold, and your <%= gearName %>, but you can get them all back with hard work! Good luck--you'll do great.", + "dontDespair": "Don't despair!", + "deathPenaltyDetails": "You lost a Level, your Gold, and a piece of Equipment, but you can get them all back with hard work! Good luck--you'll do great.", "refillHealthTryAgain": "Refill Health & Try Again", "dyingOftenTips": "Dying often? Here are some tips!" } \ No newline at end of file diff --git a/website/views/shared/modals/death.jade b/website/views/shared/modals/death.jade index 1f46867fd6..c40be6a953 100644 --- a/website/views/shared/modals/death.jade +++ b/website/views/shared/modals/death.jade @@ -2,7 +2,7 @@ include ../avatar/generated_avatar script(type='text/ng-template', id='modals/death.html') .modal-header - h4=env.t('lostAllHealth') + h3.text-center=env.t('lostAllHealth') .modal-body .container-fluid(ng-controller='UserCtrl') .col-md-6 @@ -33,7 +33,8 @@ script(type='text/ng-template', id='modals/death.html') +costumeSetting('weapon') span(class='zzz') .col-md-6 - p(style='margin-top:4.5em')=env.t('deathPenaltyDetails', {gearName: '{{::lostItem.text()}}'}) + h4=env.t('dontDespair') + p(style='margin-top:3em')=env.t('deathPenaltyDetails') .modal-footer a.btn.btn-danger.btn-lg.flex-column(ng-click='user.ops.revive({}); $close()')=env.t('refillHealthTryAgain') - h4!=env.t('dyingOftenTips') \ No newline at end of file + h4.text-center!=env.t('dyingOftenTips') \ No newline at end of file