+ var reputation_to_comment = {{ reputation_to_comment }};
+ var user_reputation = {{ user.reputation }};
+
+ function points_award_confirm(reputation, event) {
+ var message = '<div style="max-width: 300px !important; text-align: left;">';
+ message += "{% blocktrans %}Your karma points will be below the minimum reputation to comment. Are you sure you want to award points?{% endblocktrans %}";
+ message += "</div>";
+
+ if ((user_reputation - reputation) < reputation_to_comment && !awardPointsNotified) {