Exemple #1
0
def tabzilla_css_redirect(r):
    suffix = '/tabzilla.less' if settings.TEMPLATE_DEBUG else '-min'
    if settings.LESS_PREPROCESS:
        from jingo_minify.helpers import build_less
        build_less('css/tabzilla/tabzilla.less')

    return '%scss/tabzilla%s.css' % (settings.MEDIA_URL, suffix)
Exemple #2
0
def tabzilla_css_redirect(r):
    suffix = '/tabzilla.less' if settings.TEMPLATE_DEBUG else '-min'
    if settings.LESS_PREPROCESS:
        from jingo_minify.helpers import build_less
        build_less('css/tabzilla/tabzilla.less')

    return '%scss/tabzilla%s.css' % (settings.MEDIA_URL, suffix)
Exemple #3
0
def tabzilla_css_redirect(r):
    suffix = "/tabzilla.less" if settings.TEMPLATE_DEBUG else "-min"
    if settings.LESS_PREPROCESS:
        from jingo_minify.helpers import build_less

        build_less("css/tabzilla/tabzilla.less")

    return "%scss/tabzilla%s.css" % (settings.MEDIA_URL, suffix)