diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-08-23 09:26:16 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-09-28 12:54:52 +0200 |
commit | 5fefb11ffd50dcda826cd5a256c8b3f650221050 (patch) | |
tree | d98721a1b054b894e282668aea79157788903e73 /src/hydrilla/proxy/web_ui/root.py | |
parent | c100476b0a34f5098efc96bf2487f09b66b4a6c4 (diff) | |
download | haketilo-hydrilla-5fefb11ffd50dcda826cd5a256c8b3f650221050.tar.gz haketilo-hydrilla-5fefb11ffd50dcda826cd5a256c8b3f650221050.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]: |