Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-04-12 | Add true parameter to Jinja2 default filter | Dan McGee | |
We need this to make it act more like the Django filter, which prints the default value not only when the variable is undefined, but also when it evaluates to being false (such as a None value). Noticed by felixonmars on packages that provided other packages; None was always showing as the comparison operator. More embarrassing is that our file lists were always showing 'None' concatenated onto all directory entries. Signed-off-by: Dan McGee <dan@archlinux.org> | |||
2014-10-19 | Convert package files view to Jinja2 | Dan McGee | |
This is another one we spend a lot of time rendering, and packges like sage-mathematics with 80,000+ files can really make the Django template engine grind. Signed-off-by: Dan McGee <dan@archlinux.org> |