diff --git a/uffd/navbar.py b/uffd/navbar.py index 462626a2b89c40c16b35087332ad03200b367042..10579e5fb9c22bc707e8a1b511e0932a072bface 100644 --- a/uffd/navbar.py +++ b/uffd/navbar.py @@ -9,6 +9,7 @@ def setup_navbar(app): # ( see: http://getbootstrap.com/components/#glyphicons ) # or 'fa' # ( see: http://fontawesome.io/icons/ ) +# visible is a function that returns "True" if this icon should be visible in the calling context def register_navbar(name, iconlib='fa', icon=None, group=None, endpoint=None, blueprint=None, visible=None): def wrapper(func): urlendpoint = endpoint