diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-08-23 09:26:16 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-09-09 13:50:40 +0200 |
commit | 83fb19849d91fb2ad9fcf2f8a504d68ecd4c616f (patch) | |
tree | daa91b3027ab909bc80d118d17f49bd7a685cc8f /src/hydrilla/proxy/web_ui/root.py | |
parent | 5f3818ac0ba89a9aa818ae03d76ba3692c2f98e2 (diff) | |
download | haketilo-hydrilla-83fb19849d91fb2ad9fcf2f8a504d68ecd4c616f.tar.gz haketilo-hydrilla-83fb19849d91fb2ad9fcf2f8a504d68ecd4c616f.zip |
introduce package installation state enum
Diffstat (limited to 'src/hydrilla/proxy/web_ui/root.py')
-rw-r--r-- | src/hydrilla/proxy/web_ui/root.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hydrilla/proxy/web_ui/root.py b/src/hydrilla/proxy/web_ui/root.py index 0f42981..67cf6ba 100644 --- a/src/hydrilla/proxy/web_ui/root.py +++ b/src/hydrilla/proxy/web_ui/root.py @@ -74,6 +74,8 @@ class WebUIAppImpl(_app.WebUIApp): ] } + self.jinja_env.globals['versions'] = versions + self.before_request(authenticate_by_referrer) for blueprint in [repos.bp, packages.bp]: |