Open magical opened 6 years ago
To help with #115, we want to move the url and icon helper functions — pokemon_url, type_icon, make_thingy_url, etc — from the helpers module to dexlib (templates/pokedex/lib.mako), where they'll have access to the template context variables.
pokemon_url
type_icon
make_thingy_url
templates/pokedex/lib.mako
Started on this. As expected, it causes a lot of little problems that are a pain in the ass to fix.
To help with #115, we want to move the url and icon helper functions —
pokemon_url
,type_icon
,make_thingy_url
, etc — from the helpers module to dexlib (templates/pokedex/lib.mako
), where they'll have access to the template context variables.