From 964bd44649aaf03c9afea06eadad0443032d8b77 Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Tue, 23 Aug 2022 14:28:38 +0200 Subject: inform the web UI user about errors in communication with repository --- .../proxy/web_ui/templates/repos/show_single.html.jinja | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja') diff --git a/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja b/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja index 5783a20..b3a4f32 100644 --- a/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja +++ b/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja @@ -27,6 +27,16 @@ in a proprietary work, I am not going to enforce this in court. {% include 'include/checkbox_tricks_style.css.jinja' %} {% endblock %} {% block main %} + {%- if repo_communication_error is defined %} + + {%- endif %} + {%- if repo_api_version_unsupported is defined %} + + {%- endif %} {%- set repo_id = display_info.ref.id %} {%- if display_info.is_local_semirepo %}

{{ _('web_ui.repos.local_packages_semirepo') }}

-- cgit v1.2.3