Age | Commit message (Collapse) | Author |
|
|
|
|
|
Fix up 'None' display in places
|
|
# Conflicts:
# public/views.py
|
|
A few Jinja2 fixes and some perf changes
|
|
|
|
|
|
Jinja2 switch for some templates, exact matches in package search
# Conflicts:
# templates/packages/search.html
|
|
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>
|
|
More Jinja2 conversion fallout, whoops.
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
Signed-off-by: Dan McGee <dan@archlinux.org>
|
|
We wrap the whole thing in a Django template so we don't have to convert
our base template to Jinja2 (or have one for each templating engine).
This also simplifies the static stuff so we can just keep using the
Django tags.
Signed-off-by: Dan McGee <dan@archlinux.org>
|