aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-08-23 14:28:38 +0200
committerWojtek Kosior <koszko@koszko.org>2022-09-28 12:54:52 +0200
commit964bd44649aaf03c9afea06eadad0443032d8b77 (patch)
tree942d3bd19d725e947c7aa097bbb8e8ee2a2904d7 /src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja
parent67c929d9c101ee79707c104ad08a78f8e0c04f64 (diff)
downloadhaketilo-hydrilla-964bd44649aaf03c9afea06eadad0443032d8b77.tar.gz
haketilo-hydrilla-964bd44649aaf03c9afea06eadad0443032d8b77.zip
inform the web UI user about errors in communication with repository
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/repos/show_single.html.jinja')
-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>