The attached pull request makes the templates panel display the values of context variables instead of just listing them.
(Also fixes tables display which didn't have alternately colored rows)
display context variable values in the templates panel
minor fixes in the templates
What is outer_loop for? Doesn't look like it's used now.
It is to be able to use loop.cycle() within the inner loop, without this the tr's class would be 'flDebugOdd' for each one (don't ask me why, but it works, i had this tip from the #pocoo channel ^^)
I can't reproduce that. If I take out the outer_loop variable I still get the alternating rows. I'm using Jinja2 2.6, but maybe some versions have a bug?
You could use template.context|dictsort here to order the variables.
Look pretty good. There's an outer_loop that you're setting in the template that I don't see used. Can you remove that?
use dictsort instead of items() to display variables alphabetically o…
remove unused outer_loop variable
Haha, now I can't reproduce this outer_loop bug either, whatever, it's now deleted.
Ok, thanks. Thanks for the template cleanup too.