aboutsummaryrefslogtreecommitdiff
path: root/src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja
diff options
context:
space:
mode:
Diffstat (limited to 'src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja')
-rw-r--r--src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja b/src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja
index 0d2ed57..3d1a2cb 100644
--- a/src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja
+++ b/src/hydrilla/proxy/web_ui/templates/items/item_viewversion.html.jinja
@@ -64,23 +64,13 @@ code in a proprietary work, I am not going to enforce this in court.
}
{% endblock %}
-{% block main_info %}
- {% if file_installation_error is defined %}
- {{ error_note(_('web_ui.err.file_installation_error')) }}
- {% endif %}
-
- {% if uninstall_disallowed is defined %}
- {{ error_note(_('web_ui.err.uninstall_disallowed')) }}
- {% endif %}
-
- {% if repo_communication_error is defined %}
- {{ error_note(_('web_ui.err.repo_communication_error')) }}
- {% endif %}
-
+{% block top_errors %}
{% if not version_display_info.info.compatible %}
{{ error_note(_('web_ui.err.item_not_compatible')) }}
{% endif %}
+{% endblock %}
+{% block main_info %}
{{ super() }}
{{ label(_('web_ui.items.single_version.identifier_label')) }}