fix #2014 (User menu dropdown in caliblur is tiny and presents scrollbars)
Fix display of nonexistent series_index Fix caliblur add-to-shelf
This commit is contained in:
@@ -113,6 +113,7 @@ def yesno(value, yes, no):
|
||||
|
||||
@jinjia.app_template_filter('formatfloat')
|
||||
def formatfloat(value, decimals=1):
|
||||
value = 0 if not value else value
|
||||
return ('{0:.' + str(decimals) + 'g}').format(value)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user