Revert logic that assumes all themes use buefy
that just isn't a safe assumption yet..alas
This commit is contained in:
parent
83f9a3faa7
commit
0753e956f9
|
@ -209,8 +209,13 @@ def should_use_buefy(request):
|
||||||
if buefy is not None:
|
if buefy is not None:
|
||||||
return buefy
|
return buefy
|
||||||
|
|
||||||
# otherwise assume buefy is in effect
|
# TODO: should not hard-code this surely, but works for now...
|
||||||
return True
|
if theme == 'falafel':
|
||||||
|
return True
|
||||||
|
|
||||||
|
# TODO: probably should not use this fallback? it was the first setting
|
||||||
|
# i tested with, but is poorly named to say the least
|
||||||
|
return request.rattail_config.getbool('tailbone', 'grids.use_buefy', default=False)
|
||||||
|
|
||||||
|
|
||||||
def pretty_datetime(config, value):
|
def pretty_datetime(config, value):
|
||||||
|
|
Loading…
Reference in a new issue