diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-08-25 16:37:53 +0200 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-09-09 13:55:05 +0200 |
commit | 7d653be73053574ffbe87c3eed88eb04823c9f42 (patch) | |
tree | 1d18d58c1c46973e6385c722612d2a0cc61bf2fe /src/hydrilla/proxy/web_ui/templates | |
parent | b853acea1d8fec0964aede10b87cbc3086bba744 (diff) | |
download | haketilo-hydrilla-7d653be73053574ffbe87c3eed88eb04823c9f42.tar.gz haketilo-hydrilla-7d653be73053574ffbe87c3eed88eb04823c9f42.zip |
[proxy] make it possible to uninstall a package
This commit also brings some more refactoring under state_impl/.
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates')
-rw-r--r-- | src/hydrilla/proxy/web_ui/templates/packages/show_single_version.html.jinja | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/packages/show_single_version.html.jinja b/src/hydrilla/proxy/web_ui/templates/packages/show_single_version.html.jinja index f3ed206..2c6863b 100644 --- a/src/hydrilla/proxy/web_ui/templates/packages/show_single_version.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/packages/show_single_version.html.jinja @@ -48,7 +48,10 @@ in a proprietary work, I am not going to enforce this in court. <div> {{ _('web_ui.packages.single_version.package_is_installed') }} </div> - {% if uninstall_disallowed is not defined %} + {% + if uninstall_disallowed is not defined and + display_info.active != ActiveStatus.REQUIRED + %} <form method="POST"> <input name="action" value="uninstall_package" type="hidden"> <button class="green-button"> |