aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/root.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-09-02 13:51:25 +0200
committerWojtek Kosior <koszko@koszko.org>2022-09-09 13:55:05 +0200
commit781770b26a6387d7cdd5b3fc1ec56036dc62fc5b (patch)
treecde99e6298a25de9e6b5684d26afe6fe2dc70c6a /src/hydrilla/proxy/web_ui/root.py
parentcd312000a0c270f510e87f92f154af86ac16386b (diff)
downloadhaketilo-hydrilla-781770b26a6387d7cdd5b3fc1ec56036dc62fc5b.tar.gz
haketilo-hydrilla-781770b26a6387d7cdd5b3fc1ec56036dc62fc5b.zip
[proxy] allow packages to be frozen and unfrozen in the web UI
This commit also makes some minor changes and fixes in other parts of the web UI.
Diffstat (limited to 'src/hydrilla/proxy/web_ui/root.py')
-rw-r--r--src/hydrilla/proxy/web_ui/root.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/hydrilla/proxy/web_ui/root.py b/src/hydrilla/proxy/web_ui/root.py
index b199506..eac3be7 100644
--- a/src/hydrilla/proxy/web_ui/root.py
+++ b/src/hydrilla/proxy/web_ui/root.py
@@ -84,6 +84,7 @@ class WebUIAppImpl(_app.WebUIApp):
self.jinja_env.globals['get_current_endpoint'] = get_current_endpoint
self.jinja_env.globals['EnabledStatus'] = st.EnabledStatus
+ self.jinja_env.globals['FrozenStatus'] = st.FrozenStatus
self.jinja_env.globals['InstalledStatus'] = st.InstalledStatus
self.jinja_env.globals['ActiveStatus'] = st.ActiveStatus
self.jinja_env.globals['ItemType'] = item_infos.ItemType