diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-11-23 19:25:09 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-11-23 19:25:09 +0100 |
commit | 8dcaf666fb9f29a155d39f0dc3a3b6e2ea7407ba (patch) | |
tree | a1e547af599d9bad05f2e0b19f04a9b90032ad47 /src/hydrilla/proxy/web_ui/templates | |
parent | 9b01180ec981d6d0ffd7b0e84a3ddbb0a2cf1ecc (diff) | |
download | haketilo-hydrilla-8dcaf666fb9f29a155d39f0dc3a3b6e2ea7407ba.tar.gz haketilo-hydrilla-8dcaf666fb9f29a155d39f0dc3a3b6e2ea7407ba.zip |
facilitate manual package updates after repository refreshals
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates')
-rw-r--r-- | src/hydrilla/proxy/web_ui/templates/index.html.jinja | 26 |
1 files changed, 26 insertions, 0 deletions
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 %} + <h3> {{ _('web_ui.home.heading.welcome_to_haketilo') }} </h3> @@ -187,6 +195,24 @@ code in a proprietary work, I am not going to enforce this in court. ]) }} + {% if settings.update_waiting %} + <div class="horizontal-separator"></div> + + {{ label(_('web_ui.home.update_waiting_label')) }} + + <p> + {{ _('web_ui.home.update_is_awaiting') }} + </p> + + {% 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 %} <div class="horizontal-separator"></div> |