diff --git a/gratipay/main.py b/gratipay/main.py index 52017a86a8..02b65bfee3 100644 --- a/gratipay/main.py +++ b/gratipay/main.py @@ -33,9 +33,11 @@ # This is shared via class inheritance with jinja2_htmlescaped. 'b64encode': base64.b64encode, 'enumerate': enumerate, + 'filter': filter, 'filter_profile_subnav': utils.filter_profile_subnav, 'float': float, 'len': len, + 'map': map, 'range': range, 'str': str, 'to_javascript': utils.to_javascript, diff --git a/js/gratipay/forms.js b/js/gratipay/forms.js index aa991030ef..c8d557b3b5 100644 --- a/js/gratipay/forms.js +++ b/js/gratipay/forms.js @@ -3,57 +3,6 @@ Gratipay.forms = {}; -Gratipay.forms.clearFeedback = function() { - $('#feedback').empty(); -}; - -Gratipay.forms.showFeedback = function(msg, details) { - if (msg === null) - msg = "Failure"; - msg = '
{{ _( "Your identity is verified, which means you may add a {0}bank account{1}." + , ''|safe + , ''|safe) }}
+{% endif %} + +