From 8dcaf666fb9f29a155d39f0dc3a3b6e2ea7407ba Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 23 Nov 2022 19:25:09 +0100 Subject: facilitate manual package updates after repository refreshals --- .../proxy/web_ui/templates/index.html.jinja | 26 ++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'src/hydrilla/proxy/web_ui/templates/index.html.jinja') diff --git a/src/hydrilla/proxy/web_ui/templates/index.html.jinja b/src/hydrilla/proxy/web_ui/templates/index.html.jinja index fe9c5d5..d6a47f0 100644 --- a/src/hydrilla/proxy/web_ui/templates/index.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/index.html.jinja @@ -31,6 +31,14 @@ code in a proprietary work, I am not going to enforce this in court. {% import 'import/checkbox_tricks.html.jinja' as tricks %} {% block main %} + {% if file_installation_error is defined %} + {{ error_note(_('web_ui.err.file_installation_error')) }} + {% endif %} + + {% if impossible_situation_error is defined %} + {{ error_note(_('web_ui.err.impossible_situation_error')) }} + {% endif %} +

{{ _('web_ui.home.heading.welcome_to_haketilo') }}

@@ -187,6 +195,24 @@ code in a proprietary work, I am not going to enforce this in court. ]) }} + {% if settings.update_waiting %} +
+ + {{ label(_('web_ui.home.update_waiting_label')) }} + +

+ {{ _('web_ui.home.update_is_awaiting') }} +

+ + {% set update_but_text = _('web_ui.home.update_items_button') %} + + {{ + button_row([ + (['green-button'], update_but_text, {'action': 'upate_all_items'}) + ]) + }} + {% endif %} + {% if orphan_item_stats.mappings > 0 or orphan_item_stats.resources > 0 %}
-- cgit v1.2.3