From e458b571dc8ec01ae791f9ee7e2bad5d70da0fdb Mon Sep 17 00:00:00 2001 From: Sabe Jones Date: Thu, 21 Nov 2013 20:37:55 -0600 Subject: [PATCH] Move stat formulae to mouseover popup instead of inline --- views/shared/profiles/stats.jade | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/views/shared/profiles/stats.jade b/views/shared/profiles/stats.jade index 364adbc2e5..fc24520ea8 100644 --- a/views/shared/profiles/stats.jade +++ b/views/shared/profiles/stats.jade @@ -26,17 +26,22 @@ p | : {{profile.stats.exp | number:0}} / {{tnl(profile.stats.lvl)}} p strong Strength - | (Level-1)/2: {{userStr(profile.stats.lvl)}} + | : + span(popover-trigger='mouseenter', popover='(Level-1)/2') {{userStr(profile.stats.lvl)}} p strong Defense - | (Level-1)/2: {{userDef(profile.stats.lvl)}} + | : + span(popover-trigger='mouseenter', popover='(Level-1)/2') {{userDef(profile.stats.lvl)}} p strong Pets Found | : {{countExists(profile.items.pets)}} hr p strong Total Experience Boost - | (Attack + Strength): {{totalStr(profile.stats.lvl, profile.items.weapon)}} % + | : + span(popover-trigger='mouseenter', popover='Attack + Strength') {{totalStr(profile.stats.lvl, profile.items.weapon)}} % + p strong Total Damage Reduction - | (Defense + Protection): {{totalDef(profile.stats.lvl, profile.items.armor, profile.items.head, profile.items.shield)}} % \ No newline at end of file + | : + span(popover-trigger='mouseenter', popover='Defense + Protection') {{totalDef(profile.stats.lvl, profile.items.armor, profile.items.head, profile.items.shield)}} % \ No newline at end of file