From fab8c3685aa58054acfd67746242bfa224925120 Mon Sep 17 00:00:00 2001 From: nd <git@notandy.de> Date: Sat, 18 Jul 2020 12:11:43 +0200 Subject: [PATCH] added a comment --- uffd/navbar.py | 1 + 1 file changed, 1 insertion(+) diff --git a/uffd/navbar.py b/uffd/navbar.py index 462626a2..10579e5f 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 -- GitLab