diff --git a/usaon_vta_survey/__init__.py b/usaon_vta_survey/__init__.py index 4975d9cd..2213db40 100644 --- a/usaon_vta_survey/__init__.py +++ b/usaon_vta_survey/__init__.py @@ -29,7 +29,7 @@ db.init_app(app) -app.jinja_env.globals.update(sqla_inspect=sqla_inspect) +app.jinja_env.globals.update(sqla_inspect=sqla_inspect, __version__=__version__) # NOTE: This is a circular import, but it's specified by the Flask docs: # https://flask.palletsprojects.com/en/3.1.x/patterns/packages/ diff --git a/usaon_vta_survey/templates/base.html b/usaon_vta_survey/templates/base.html index d74afbb9..44d00613 100644 --- a/usaon_vta_survey/templates/base.html +++ b/usaon_vta_survey/templates/base.html @@ -28,5 +28,8 @@

Please login to use this application.

{% endif %} +