aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/repos
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-08-23 14:28:38 +0200
committerWojtek Kosior <koszko@koszko.org>2022-09-09 13:55:05 +0200
commit7fcb306c6a3d3771020a85d730786aa5bfb03f90 (patch)
tree5807e9c4d72c2ad3c4f52436700e628c19b0b66b /src/hydrilla/proxy/web_ui/templates/repos
parent9326f832fe3bb5b77358170bd060dad1af98810d (diff)
downloadhaketilo-hydrilla-7fcb306c6a3d3771020a85d730786aa5bfb03f90.tar.gz
haketilo-hydrilla-7fcb306c6a3d3771020a85d730786aa5bfb03f90.zip
inform the web UI user about errors in communication with repository
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/repos')
-rw-r--r--src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja10
1 files changed, 10 insertions, 0 deletions
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 %}
+ <aside class="error-note">
+ {{ _('web_ui.repos.add.repo_communication_error') }}
+ </aside>
+ {%- endif %}
+ {%- if repo_api_version_unsupported is defined %}
+ <aside class="error-note">
+ {{ _('web_ui.repos.add.repo_api_version_unsupported') }}
+ </aside>
+ {%- endif %}
{%- set repo_id = display_info.ref.id %}
{%- if display_info.is_local_semirepo %}
<h3>{{ _('web_ui.repos.local_packages_semirepo') }}</h3>