X-Git-Url: https://code.wpia.club/?p=gigi.git;a=blobdiff_plain;f=src%2Forg%2Fcacert%2Fgigi%2Fpages%2Fwot%2FMyPoints.java;h=ba2bdf5af5da706d62f91b01dae4b52114741a15;hp=0801f5079e4396b6d46c0e6cc1280ed3eb115201;hb=3689dcd11a286c3c9204f96d9a6c3b33a968844a;hpb=1f18f8f4e967518962546c8b9a11aa73eaccf676 diff --git a/src/org/cacert/gigi/pages/wot/MyPoints.java b/src/org/cacert/gigi/pages/wot/MyPoints.java index 0801f507..ba2bdf5a 100644 --- a/src/org/cacert/gigi/pages/wot/MyPoints.java +++ b/src/org/cacert/gigi/pages/wot/MyPoints.java @@ -31,6 +31,11 @@ public class MyPoints extends Page { User user = getUser(req); vars.put("asArr", user.getReceivedAssurances()); vars.put("otherAsArr", user.getMadeAssurances()); + vars.put("assP", user.getAssurancePoints()); + if (user.canAssure()) { + vars.put("expP", user.getExperiencePoints()); + vars.put("maxP", user.getMaxAssurePoints()); + } getDefaultTemplate().output(resp.getWriter(), getLanguage(req), vars); }