Modifying jinja2 extra filters
 

I try to change the display of the "vote" boxes (vote, response, and view). The file is in askbot/templetags/extra_filters_jinja.py line 277 (function humanize_counter). The locale is not working on this value and modifying the code to return a custom string has no impact...

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
tristan's avatar
95
tristan
asked 12 years ago

Comments

see more comments